+ Reply to Thread
Results 1 to 4 of 4

Question: Multiple Cell/Sheet Indexing

  1. #1
    Registered User
    Join Date
    11-09-2012
    Location
    seattle
    MS-Off Ver
    Excel 2007
    Posts
    42

    Question: Multiple Cell/Sheet Indexing

    Hello all,

    I think I have a good one today

    I have two sheets

    SHEET 1, SHEET 2

    Both sheets share 5 columns that are identical with the same headers at the top.

    A, B, C, D, E

    Goal:

    Formula in Cell E of SHEET 2
    Reference Cells (A,B,C,D) in the same row
    Check(index) SHEET 1
    Find row that contains the same data that is referenced in (A,B,C,D) from SHEET 2
    And return with the value Cell E of SHEET 1 in Cell E of SHEET 2.


    EXAMPLE:

    SHEET 1

    Column A Column B Column C Column D Column E
    1 DOG CAT MOUSE Tomato Building
    2 DOG CAT MOUSE BEAR Cup
    3 DOG CAT MOUSE CARROT Bread
    4 DOG CAT MOUSE PEAR House


    SHEET 2:

    Column A Column B Column C Column D Column E
    1 DOG CAT MOUSE CARROT FORMULA


    Formula will look at SHEET 1, find the row that matches Columns (A,B,C,D) which in this case would be row #3 and return and show "Bread" in Column E of SHEET 2.

    I hope that makes sense, I used to doing simple INDEXINGS formulas but never multiple cells as a reference index.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Question: Multiple Cell/Sheet Indexing

    Without using helper columns, you'll need to enter the formula as a array

    In E2 of Sheet2

    =INDEX(Sheet1!$E$2:$E$5, MATCH(A2&B2&C2&D2, Sheet1!$A$2:$A$5&Sheet1!$B$2:$B$5&Sheet1!$C$2:$C$5&Sheet1!$D$2:$D$5,0))
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-09-2012
    Location
    seattle
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Question: Multiple Cell/Sheet Indexing

    Awesome, thank you ChemistB! Will give it a shot and report back.

  4. #4
    Registered User
    Join Date
    11-09-2012
    Location
    seattle
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Question: Multiple Cell/Sheet Indexing

    Thank you ChemistB! Formula worked perfectly. Provided Add Reputation.

+ 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: 5
    Last Post: 04-05-2012, 10:48 AM
  2. Indexing with a variable sheet name
    By thisandthat in forum Excel General
    Replies: 3
    Last Post: 02-04-2011, 03:43 AM
  3. Indexing Multiple Tables
    By Haywire79 in forum Excel General
    Replies: 6
    Last Post: 08-13-2010, 02:12 AM
  4. [SOLVED] question for indexing a table
    By martin in forum Excel General
    Replies: 3
    Last Post: 06-02-2006, 04:55 AM
  5. [SOLVED] INDEXing Question
    By carl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-23-2005, 10:05 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