sum and autofiltering
Thanks Thanks:  0
Likes Likes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: sum and autofiltering

  1. #1
    Board Regular
    Join Date
    Apr 2002
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    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. #2
    Board Regular
    Join Date
    Feb 2002
    Location
    Ahmedabad Gujarat
    Posts
    303
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #3
    Board Regular
    Join Date
    Apr 2002
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #4
    MrExcel MVP Al Chara's Avatar
    Join Date
    Feb 2002
    Location
    Newark, Delaware
    Posts
    1,701
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Correct syntax is without "". Should work otherwise.
    Best regards,
    Allan Chara
    http://www.mrspreadsheets.com

  5. #5
    Board Regular
    Join Date
    Feb 2002
    Location
    Florida
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default



    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. #6
    Board Regular
    Join Date
    Apr 2002
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #7
    MrExcel MVP
    Join Date
    Mar 2002
    Location
    Michigan USA
    Posts
    11,454
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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!
    Regards!

    Yogi Anand, D.Eng, P.E.
    Energy Efficient Building Network LLC
    www.energyefficientbuild.com

  8. #8
    MrExcel MVP Al Chara's Avatar
    Join Date
    Feb 2002
    Location
    Newark, Delaware
    Posts
    1,701
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    What about using SUMIF:
    =SUMIF(transaction range,type of transaction,range to sum)
    Best regards,
    Allan Chara
    http://www.mrspreadsheets.com

  9. #9
    Board Regular
    Join Date
    Feb 2002
    Location
    Boston, Mass
    Posts
    182
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #10
    Board Regular
    Join Date
    Apr 2002
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    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

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com