spreadsheet macro

T

tmorone

I prepare my taxes for the accountant in an excel
spreadsheet. I have thirty rows with category names (trave-
-lodging, travel-foor, entertainment, telephoen etc.).

In the first column I have date, second column
description, third column amount. The sum of all the rows
ties back to the third column.
I need a macro that automatically soreads the thired
column to the appropriate category in the row headings.
 
P

Peter Atherton

-----Original Message-----
I prepare my taxes for the accountant in an excel
spreadsheet. I have thirty rows with category names (trave-
-lodging, travel-foor, entertainment, telephoen etc.).

In the first column I have date, second column
description, third column amount. The sum of all the rows
ties back to the third column.
I need a macro that automatically soreads the thired
column to the appropriate category in the row headings.
.

A formula should do it

=SUMPRODUCT(--(B2:B31="Entertainment")*(C2:C31))

(e-mail address removed)
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top