+ Reply to Thread
Results 1 to 4 of 4

Sum values when filtered

  1. #1
    Registered User
    Join Date
    12-01-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    4

    Sum values when filtered

    hi, I have requirement where we need to filter a column "Card Used" with a particular text then calculate the values from the corresponding columns and sum the values and display the result in column 'C'. I am giving you a sample structure.

    Card Used Bill Amount
    Citi_MasterCard $100.00
    BoA_Visa $75.00
    BoA_Visa $83.00
    Amex $54.00
    Citi_MasterCard $120.00
    BoA_Visa $433.00
    Citi_MasterCard $304.00
    OrchardCard $12.00
    Amex $234.00
    Citi_MasterCard $79.00

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Need help with excel formula

    You could probably do this without filtering by using SUMIF or a pivot table.
    If posting code please use code tags, see here.

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Sum values when filtered

    Norie's suggestions are right on point, but if you want to filter column A and then total the sum in column B on the item filtered by...

    You could use >> =SUBTOTAL(109,B2:B11)
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    12-01-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need help with excel formula

    Thanks Norie. SumIf worked for me...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1