Thanks:  0
Likes:  0

1. I am using the autofilter on a spreadsheet for a simple checkbook. when i filter out everything buy ATM transactions I want to know the sum of those transactions only. Then When I filter for deposits I want the sum for only the deposits. How do I do this?

2. You need to use subtotal function...

i do this lots of time for my office expense statements.

write down the formula in the last row..

=subtotal(9,"a1:a200")...

this will give you sum.

Subtotal has many options so i suggest you to take online help for this powerful function. you can find out nos of records,, average.. max value, min values,,etc

ni****h desai
http://www.pexcel.con

3. ni****h,
You said to use this...

=subtotal(9,"a1:a200")...

But excel will not let me put the quotes into the equation.

When I remove the quotes it still does not work.

4. Correct syntax is without "". Should work otherwise.

5. The formula is assuming you have your data in the range A1 to A200. If this is not correct change the range to fit your needs........

Denny

6. First, I tried it with out the quotes and it did not work.
Second, I know enough not to use the a1 to a200. I do have some eqperience with excel.
But for some reason I still cannot get it to work. Maybe I am not explaining my self correctly.
I have a spreadsheet with my checking account info on it. The first colume is the date, second it the tyoe of transaction (check, deposit, withdrawl and so on). The third column shown the payments (withdrawls), the fourthe shows deposits.
Lets say I want to sort by the type of transaction, I want the sum of that type of transaction.

7. On 2002-04-18 07:07, moby wrote:
I am using the autofilter on a spreadsheet for a simple checkbook. when i filter out everything buy ATM transactions I want to know the sum of those transactions only. Then When I filter for deposits I want the sum for only the deposits. How do I do this?
Hi moby:
After you have the filtered list, if you simply want to see what the total is, select the items, and look at the status bar where you can right click to see the various statistics related to the selection, such as Count, Sum, Average, ...

HTH!

=SUMIF(transaction range,type of transaction,range to sum)

9. I find it useful to put a subtotal formula above labels so that your subtotals don't expand or contract when filtering a list.
ex. labels start on row 3, A3=date, B3=type, C3=pymts, D3=deposits
In c2 put =subtotal(9,c4:c200) and in d2 put =subtotal(9,d4:D200)
You can filter on any column now and get the appropriate total.
HTH
Drew

[ This Message was edited by: Drew on 2002-04-18 12:53 ]

[ This Message was edited by: Drew on 2002-04-18 12:55 ]

10. I figured out what I was doing wrong. Under the Calculations section of the Calculations Tab in the Options menu I had Manual selected. So it was never updating my calculations.
Thanks to everyone

## User Tag List

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•