Closed Thread
Results 1 to 4 of 4

Using INDEX & MATCH to get multiple values

  1. #1
    Registered User
    Join Date
    03-12-2012
    Location
    Worcester, England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Using INDEX & MATCH to get multiple values

    I am using the below formula as an array to find values from the sheet 'paste' in column T which has numeric values by looking up two sets of values in two colums and ten returning the matching result.

    {=IFERROR(INDEX($C$1:$C$4,MATCH($D$2&$E$2,$A$1:$A$4&$B$1:$B$4,0)),"")}

    This works fine but i wish for any values that have the same lookup criteria to be added together so for example

    A B C d2=1 e2=1
    1 1 blank
    1 3 8
    1 1 5
    1 1 3

    So in cell d1 I have the value '1' and in cell E2 I have the value '1' also so the MATCH will find the first rown and return a blank but i need it to also find row 3 and row 4 add the results together (blank + 5 +3) should return 8.

    Many thanks
    Kevin

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Using INDEX & MATCH to get multiple values

    Hi
    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-12-2012
    Location
    Worcester, England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Using INDEX & MATCH to get multiple values

    Thats great thanks.

    Just one more thing on this if the value is a blank how does it show as blank instead of a zero. but if there is a zero then to show the zero

    so for instance

    A B C d2=1 e2=1
    1 1 blank
    1 3 0
    1 1 5
    1 1 3

    so if d2=1 and e2=1 then blank cell is returned
    but if d2=1 and e2=3 then a '0' is returned

    Thanks

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,603

    Re: Using INDEX & MATCH to get multiple values

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    http://www.excelforum.com/excel-form...le-values.html

    Thread Closed.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Multiple Match Values in Excel Using INDEX-MATCH
    By andrugrasu in forum Excel General
    Replies: 8
    Last Post: 03-20-2015, 09:57 PM
  2. Index / Match on multiple values
    By Echo_711 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-09-2014, 09:18 PM
  3. Using Index/Match to return multiple values for one match
    By superboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2014, 06:21 PM
  4. [SOLVED] Two criteria Index Match on multiple sheets returning multiple values
    By Joak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2014, 10:03 AM
  5. Replies: 2
    Last Post: 07-17-2012, 11:53 AM
  6. INDEX/MATCH for multiple values
    By richard8366 in forum Excel General
    Replies: 1
    Last Post: 11-14-2008, 07:20 AM
  7. [SOLVED] match/index using multiple values
    By perky2go in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-20-2006, 03:25 PM

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