![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 65
|
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 |
|
Board Regular
Join Date: Feb 2002
Location: Ahmedabad Gujarat
Posts: 303
|
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 nishith desai http://www.pexcel.con |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 65
|
nishith,
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 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
Correct syntax is without "". Should work otherwise.
__________________
Kind regards, Al Chara |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Florida
Posts: 82
|
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 |
|
Board Regular
Join Date: Apr 2002
Posts: 65
|
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 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
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!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
|
|
#8 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
What about using SUMIF:
=SUMIF(transaction range,type of transaction,range to sum)
__________________
Kind regards, Al Chara |
|
|
|
|
|
#9 |
|
Board Regular
Join Date: Feb 2002
Location: Boston, Mass
Posts: 169
|
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 |
|
Board Regular
Join Date: Apr 2002
Posts: 65
|
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|