+ Reply to Thread
Results 1 to 4 of 4

SUMIF with Subtotals

Hybrid View

  1. #1
    Registered User
    Join Date
    08-22-2008
    Location
    London
    Posts
    23

    SUMIF with Subtotals

    Hi All,

    I am having a problem with a formula I think I should be able to get correct but not sure if I am able to do so.

    On the attached file I have a filter on the TIER's for "Is grater than or equal to 5"

    What I need is a SUMIF formula that will take into account the filters. This formula needs to separate out between "GER", "IRE" and "UK" in cells C37, C38 and C39.

    I have a subtotal in cell C35 which gives me the subtotal of all countries but I'd like to be able to have the subtotal separated out between the 3 countries and also still have the ability to manipulate the data so I could select different TIER's or a range of TIER's and Cells C37 - 39 automatically update themselves.

    Is this possible?

    Thanks for you help in advance.

    Jon
    Attached Files Attached Files
    Last edited by jon_wolf69; 01-05-2009 at 10:43 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try in C37:

    =SUMPRODUCT(SUBTOTAL(9,OFFSET($C$1:$C$32,ROW($C$1:$C$32)-MIN(ROW($C$1:$C$32)),,1)),--($B$1:$B$32=B37))

    copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-22-2008
    Location
    London
    Posts
    23
    Works perfectly!!! Thank you very much. My little Excel brain would have never worked that one out ;-)

    It's Rather more complex than I would have thought though.

    Regards,
    Jon

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You are welcome.

    Please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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