+ Reply to Thread
Results 1 to 7 of 7

Mutile criterai accross multiple ranges to return a sum of matching values

  1. #1
    Registered User
    Join Date
    10-15-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    75

    Mutile criterai accross multiple ranges to return a sum of matching values

    Hello everyone,

    Any help would be greatly appreciated....

    I think I need a SUMPRODUCT with INDEX MATCH x2 to match 3 variabkle inputs against 2 ranges to sum when all criteria is met. Essentially my criteria is:

    Match F22 in I20:K20
    Match F20 in I21:K30
    Match F22&F24 in L20:Q20

    Return sum of L21:Q30

    It is difficult to explain in words so I have attached a decent sample dataa set with expected result.

    Thank you in advance
    Attached Files Attached Files
    Last edited by 77highland; 06-15-2023 at 07:57 AM. Reason: Change of thread title post message from admin

  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,916

    Re: Sumproduct Index Match

    Administrative Note:

    GENERIC THREAD TITLE - JUST FUNCTION NAMES

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,427

    Re: Mutile criterai accross multiple ranges to return a sum of matching values

    Cell D13 formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AliGW; 06-15-2023 at 08:08 AM. Reason: Post restored - title had already been changed.

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: Mutile criterai accross multiple ranges to return a sum of matching values

    Please try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-15-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    75

    Re: Mutile criterai accross multiple ranges to return a sum of matching values

    Worked perfect, thank you very much.

    I was able to simplify slightly by removing the substitute and changing to SUMIF as only 1 criteria (other than the sum range) is used.

    Thank you very much once again

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,427

    Re: Mutile criterai accross multiple ranges to return a sum of matching values

    @77highland You're Welcome. Glad to help . Thank You for the feedback and rep.

  7. #7
    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,916

    Re: Mutile criterai accross multiple ranges to return a sum of matching values

    @77highland

    Whom are you addressing? You had two solutions offered - please acknowledge both of them.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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. Using VLOOKUP but would prefer INDEX MATCH MATCH w/SUMIFS or SUMPRODUCT
    By Sparky123atHouston in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-10-2022, 07:13 PM
  2. [SOLVED] Index Match or sumproduct with 3 criteria to match
    By golden2282 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-18-2016, 03:10 PM
  3. Using INDEX/MATCH within a SUMPRODUCT
    By rjj in forum Excel General
    Replies: 0
    Last Post: 02-04-2015, 10:46 AM
  4. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  5. Replies: 13
    Last Post: 12-13-2012, 11:44 AM
  6. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  7. SumProduct / Match / Index
    By nikumon in forum Excel General
    Replies: 8
    Last Post: 08-04-2011, 01:18 AM

Tags for this Thread

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