+ Reply to Thread
Results 1 to 7 of 7

Sumifs with multiple criteria using Combobox

  1. #1
    Registered User
    Join Date
    04-15-2019
    Location
    Middle East
    MS-Off Ver
    2016
    Posts
    5

    Sumifs with multiple criteria using Combobox

    Hi Champs, I have a dump from system where each row has multiple attributes. I have assigned different reporting levels from highest level summary to the lowest level detail. Sample data is attached. I intend to have Combobox for all these levels and bring the sum for each month based on selected item in the Combobox. Each Combobox shall also have "All" as one of the criteria. I really appreciate your help on this.

    Warm Regards,
    ARP
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,981

    Re: Sumifs with multiple criteria using Combobox

    Welcome to the forum!

    There's a much easier way to achieve this:

    1. Convert the grid to a proper Excel table.
    2. Change the total line formulae to SUBTOTAL formulae using the option that excludes hidden rows (109).
    3. Add slicers to filter your data.
    Attached Files Attached Files
    Last edited by AliGW; 04-15-2019 at 03:41 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-15-2019
    Location
    Middle East
    MS-Off Ver
    2016
    Posts
    5

    Re: Sumifs with multiple criteria using Combobox

    Thanks Ali for swift response. Appreciated indeed. Actually, I have huge data and multiple parameters that I am summing up and I have interactive Charts linked to the table that gets populated based on criteria selected in Comboboxes. I used simpler table for demo. Appreciate if you could re-visit based on above.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,981

    Re: Sumifs with multiple criteria using Combobox

    Why are you trying to make it harder for yourself? This approach I have shown you will work with your more complex data and with charts. It will be far, far more efficient than trying to do this with formulae.

    This is the solution I am offering and it's easy. If you don't want to learn, then that's fine.

    EDIT: Have you even looked at the workbook I provided?
    Last edited by AliGW; 04-15-2019 at 03:50 AM.

  5. #5
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,915

    Re: Sumifs with multiple criteria using Combobox

    Assuming your columns don't have blanks in them, you could use additional cells that test each dropdown and if it says All, the formula returns * otherwise it returns the selected value. Then simply refer to those cells for the SUMIFS criteria.
    Rory

  6. #6
    Registered User
    Join Date
    04-15-2019
    Location
    Middle East
    MS-Off Ver
    2016
    Posts
    5

    Re: Sumifs with multiple criteria using Combobox

    Hi Ali, I did check the workbook that you attached. Thanks for response.

  7. #7
    Registered User
    Join Date
    04-15-2019
    Location
    Middle East
    MS-Off Ver
    2016
    Posts
    5

    Re: Sumifs with multiple criteria using Combobox

    Thanks Rory. This is working. Your assumption that there are no blanks is quite correct.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 08-22-2017, 03:49 PM
  2. Replies: 3
    Last Post: 02-02-2017, 04:32 AM
  3. [SOLVED] SUMIFS with multiple criteria WITH specified dynamic range criteria
    By dluhut in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-20-2017, 11:03 AM
  4. Sumifs with multiple criteria and criteria in same column
    By Kathryn012 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2017, 07:48 AM
  5. How to sum SUMIFS - multiple criteria for one criteria range???
    By trstew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2016, 02:37 PM
  6. Replies: 3
    Last Post: 11-21-2012, 04:57 PM
  7. Replies: 1
    Last Post: 05-16-2011, 05:00 PM

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