+ Reply to Thread
Results 1 to 8 of 8

Sumifs or alternative formula needed for multiple criteria

  1. #1
    Registered User
    Join Date
    09-03-2013
    Location
    Elgin, IL
    MS-Off Ver
    Excel 2010
    Posts
    90

    Sumifs or alternative formula needed for multiple criteria

    Good day excel forum. I'm reaching out for help on what I thought would be a relatively simple formula, but with me not having much experience with the various excel formula and each formula's limitations, I may be trying to tackle this one with the wrong formula. I tried sumifs to no avail.

    I've attached a sample worksheet and the formula I'm searching for needs to return the sum of the values in one of the columns in the specified range of N601:AG616 given 2 matching criteria.

    The range of values is on Master Sheet 1, and the formulas need to go on Sheet 2 Sum Total (in BH21-BH30).

    The formulas in these cells need to return the results you see in BJ21-BJ30 by having a formula that will sum the total of all values in the column of the specified range where the PO# in row 1 of that column on "Master Sheet 1 matches the PO # on Sheet 2 Sum Total (column X), AND where the "Ref #" in B601-616 on Master Sheet 1 matches the Ref # for each row on Sheet 2 Sum Total (column C).

    If it's not clear what I'm trying to accomplish, please email me. Thanks so much in advance for your help solving this formula problem for me.

    Be Well!
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumifs or alternative formula needed for multiple criteria

    Try

    =SUMIFS(INDEX('Master Sheet 1'!$N$601:$AG$616,0,MATCH(X21,'Master Sheet 1'!$N$1:$AG$1,0)),'Master Sheet 1'!$B$601:$B$616,C21,'Master Sheet 1'!$K$601:$K$616,X21)


    Note, you have a leading space in X30 on the Sum Total Sheet.
    Changed it from " P0 5" to "PO 5"

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Sumifs or alternative formula needed for multiple criteria

    bh21=SUMIFS(INDEX('Master Sheet 1'!$N$601:$AG$616,,MATCH(TRIM($X21),'Master Sheet 1'!$N$1:$AG$1,0)),'Master Sheet 1'!$B$601:$B$616,$C21)
    TRY THIS AND COPY TOWARDS DOWN
    you have unnecessary space in Cell X30 PLEASE REMOVE IT
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,213

    Re: Sumifs or alternative formula needed for multiple criteria

    Hi. An alternative, using SUMPRODUCT. And yes there is an extra space in X30...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Registered User
    Join Date
    09-03-2013
    Location
    Elgin, IL
    MS-Off Ver
    Excel 2010
    Posts
    90

    Re: Sumifs or alternative formula needed for multiple criteria

    @Jonmo1. Thank you! Your formula works perfectly. I'm familiar with index/match, but not in conjunction with the Sumifs formula, so thank you also for expanding my horizon on the index/match combo!

    @Glenn - thanks also, Glenn. I'm going to stick with Jonmo1's formula, but I greatly appreciate the alternative solutions. Your formula will also help me see the flexibilities I have with the various formula.

    Be well!
    Last edited by bwmuhich; 03-31-2015 at 02:01 PM.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumifs or alternative formula needed for multiple criteria

    You're welcome.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,213

    Re: Sumifs or alternative formula needed for multiple criteria

    Thanks for the Reputation that you have added. It's much appreciated. If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  8. #8
    Registered User
    Join Date
    09-03-2013
    Location
    Elgin, IL
    MS-Off Ver
    Excel 2010
    Posts
    90

    Re: Sumifs or alternative formula needed for multiple criteria

    @Glenn. Sadly, I just realized I mistyped the formula when applying it to my actual working spreadsheet, and when I corrected the typo, my actual data range is too large for your formula to work.
    Last edited by bwmuhich; 03-31-2015 at 03:12 PM.

+ 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. Faster alternative to sumifs and averageifs needed
    By BlueDan2015 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-30-2015, 06:44 AM
  2. [SOLVED] SumIfs Formula With Multiple Not Equal To Criteria
    By zmster2033 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-07-2014, 05:08 PM
  3. [SOLVED] An alternative to the Sumifs Formula?
    By Aland2929 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-12-2014, 04:44 AM
  4. Replies: 1
    Last Post: 05-16-2011, 05:00 PM
  5. Multiple Criteria Formula Needed
    By excelguru(not) in forum Excel General
    Replies: 1
    Last Post: 04-27-2011, 11:03 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