+ Reply to Thread
Results 1 to 5 of 5

Index Match table using two columns of data

  1. #1
    Registered User
    Join Date
    09-08-2009
    Location
    Hawaii
    MS-Off Ver
    Excel 2013
    Posts
    68

    Index Match table using two columns of data

    I've been looking on the web for a solution but can't get it right. How would I go about showing the pay (data inside the table) based on the users selection? Basically, the user will choose a year, rank, and then time. I'm getting lost on a result. I know index and match will do the trick but can't get the syntax right. Would a sumproduct be useful here?

    Pictures are worth a thousand words but spreadsheets are worth so much more. Attached is mine.

    Thanks in advance. Rep to whomever helps!
    Attached Files Attached Files
    Last edited by purdue7997; 08-02-2013 at 08:25 AM.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Index Match table using two columns of data

    Hi,

    Try this array formula (confirm with CTRL+SHIFT+ENTER, not just ENTER):

    =INDEX($C$8:$X$139,MATCH(C2&C3,$A$8:$A$139&$B$8:$B$139,0),MATCH(C4,$C$7:$X$7,0))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    09-08-2009
    Location
    Hawaii
    MS-Off Ver
    Excel 2013
    Posts
    68

    Re: Index Match table using two columns of data

    Quote Originally Posted by XOR LX View Post
    Hi,

    Try this array formula (confirm with CTRL+SHIFT+ENTER, not just ENTER):

    =INDEX($C$8:$X$139,MATCH(C2&C3,$A$8:$A$139&$B$8:$B$139,0),MATCH(C4,$C$7:$X$7,0))

    Regards
    Yes sir! Worked. Thanks for the help, rep coming.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Index Match table using two columns of data

    non array
    =INDEX($C$8:$X$139,MATCH(C2&C3,index($A$8:$A$139&$B$8:$B$139,0),0),MATCH(C4,$C$7:$X$7,0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    09-08-2009
    Location
    Hawaii
    MS-Off Ver
    Excel 2013
    Posts
    68

    Re: Index Match table using two columns of data

    Quote Originally Posted by martindwilson View Post
    non array
    =INDEX($C$8:$X$139,MATCH(C2&C3,index($A$8:$A$139&$B$8:$B$139,0),0),MATCH(C4,$C$7:$X$7,0))
    Works too! Rep added

+ 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. Data table based on user selection and index/match
    By pauldaddyadams in forum Excel General
    Replies: 0
    Last Post: 10-19-2012, 07:58 AM
  2. [SOLVED] Problem with INDEX, MATCH, and a function to count data from a table
    By Pentasyllabic in forum Excel General
    Replies: 10
    Last Post: 05-22-2012, 05:16 PM
  3. Re: Match / Index Multiple Columns and copy data
    By shahin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-28-2010, 04:06 PM
  4. Match / Index Multiple Columns and copy data
    By SHS in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2010, 03:30 AM

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