+ Reply to Thread
Results 1 to 7 of 7

Index Match with return vales from multiple columns

Hybrid View

  1. #1
    Registered User
    Join Date
    06-10-2014
    Location
    USA
    MS-Off Ver
    2019
    Posts
    13

    Index Match with return vales from multiple columns

    See attached. Trying to return a container quantity in Column C based on the products in Column A and Container Size selected in Column B. I can get the values from one column, but how do I get a value from across 4 columns, depending on the product and column head? Must be easy, but I'm not seeing it.

    Any advice?

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Index Match with return vales from multiple columns

    can't open your file. can you post another copy?
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  3. #3
    Registered User
    Join Date
    10-12-2017
    Location
    Brazil
    MS-Off Ver
    2016
    Posts
    59

    Re: Index Match with return vales from multiple columns

    Hello.
    In "D3" write and then drag

    =OFFSET($E$2;MATCH(A3;$F$3:$F$17;0);MATCH(B3;$F$2:$J$2;0))

  4. #4
    Registered User
    Join Date
    06-10-2014
    Location
    USA
    MS-Off Ver
    2019
    Posts
    13

    Re: Index Match with return vales from multiple columns

    I couldn't get your formula to work. I looked up some tutorials on the OFFSET function and got this formula to work. See attached. However, for whatever reason, it works as expected for C3 to C10. For C11 to C17 it gives erroneous figures. I broke the formula down and put the match formulas in columns K and L to get an idea of what's happening and I'm lost. Why does this formula break starting C11?

    =OFFSET($E$2,MATCH(A3,$E$3:$E$17),MATCH(B3,$F$2:$I$2))

    Thanks for pointing me to the OFFSET function!
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-12-2017
    Location
    Brazil
    MS-Off Ver
    2016
    Posts
    59

    Re: Index Match with return vales from multiple columns

    Hello.
    You have omitted the last argument of the match function so the return is incorrect.
    See the attachment.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-10-2014
    Location
    USA
    MS-Off Ver
    2019
    Posts
    13

    Re: Index Match with return vales from multiple columns

    Very much appreciated!

  7. #7
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2021
    Posts
    5,960

    Re: Index Match with return vales from multiple columns

    Or try this:

    =INDEX($F$3:$I$17,MATCH(A3,$E$3:$E$17,0),MATCH(B3,$F$2:$I$2,0))

    or:

    =VLOOKUP(A3,$E$3:$I$17,MATCH(B3,$E$2:$I$2,0),0)

+ 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. Return Multiple Match Values in Excel Using INDEX-MATCH
    By chris1089 in forum Excel General
    Replies: 10
    Last Post: 06-15-2017, 09:25 AM
  2. Replies: 5
    Last Post: 10-16-2016, 02:33 AM
  3. INDEX/MATCH Formula issue-comparing dates in 4 columns to return a value
    By hopegriffin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-06-2016, 05:15 PM
  4. [SOLVED] Index/Match with Multiple Criteria and Multiple return values
    By Brawnystaff in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-28-2015, 10:27 AM
  5. 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
  6. [SOLVED] Lookup match index multiple values return other columns
    By martypocock in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 11-07-2012, 10:57 PM
  7. Replies: 2
    Last Post: 06-29-2011, 01:36 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