+ Reply to Thread
Results 1 to 6 of 6

INDEX and MATCH

  1. #1
    Registered User
    Join Date
    08-08-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    3

    INDEX and MATCH

    I had a question regarding INDEX and MATCH. Let’s say we have I have multiple sub tables within a table. Can the INDEX command be used to narrow down the result down using Data Validation? For example, in one table I have “Produce” which then branches off to “Apple” and “Oranges”, from there “Apple” branches off into an additional two columns "25 deg" and "20 deg" and that branches off into an additional to columns “Refrigerator 1” and “Refrigerator 2” same thing with the oranges. I tried using a combination of Data Validation, Index, and Matching, but I can’t get it to work.

    My goal is to have the user select the Sote Number, Produce, Type, Temp, and Ref Number and have excel spit out the proper Value.


    =INDEX((B5:I13),MATCH(M7,O5:O13,0),MATCH(M9,Q5:Q6,0))

    Im not sure if i have to break it down into individual tables to make it easier. I also meged some cells together so i dont know if that part of the problem.


    Is there a turorial that you guys could point me towards in order to help me better understand this?

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: INDEX and MATCH

    How about this:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: INDEX and MATCH

    Here is a possible solution if you are willing to add tow extra rows.

    Add a new row 3 >> Take Fruit and place it in B3:E3 >> Take Vegtable and place it in F3:I3

    Now add a new row 5 >> Take the 20°C and place it in B5:E5 >> Take the word Vegtable and place it in F5:I5

    Now in M17 >> =INDEX($B$7:$I$15,MATCH(1,IF($A$7:$A$15=$M$9,1)),MATCH(1,IF($B$3:$I$3=$M$11,IF($B$5:$I$5=$M$13,IF($B$6:$I$6=$M$15,1)))))

    IMPORTANT
    • This is an array formula
    • Enter the formula >> press F2 then >> CTRL + SHIFT + ENTER
    • If entered correctly, the formula will be enclosed in {brackets}
    • Do not enter the {brackets} manually
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    08-08-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: INDEX and MATCH

    Hi ConneXionLost,

    That worked to perfection!

    Appreciate your help so much

    Thank You

  5. #5
    Registered User
    Join Date
    08-08-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: INDEX and MATCH

    What’s the purpose of the "+" in front of the match and the "-2" in the end of the command?

  6. #6
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: INDEX and MATCH

    They are used for addition and subtraction.

+ 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: 3
    Last Post: 05-02-2013, 01:31 AM
  2. [SOLVED] VBA for creating Index-Match every 2 rows where INDEX refer to a different column per row
    By bisaya789 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2012, 03:46 AM
  3. [SOLVED] Index/Match/Match....Stops without completing the match
    By irsles in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-14-2012, 10:16 PM
  4. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  5. Replies: 5
    Last Post: 02-29-2012, 08:51 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