+ Reply to Thread
Results 1 to 3 of 3

INDEX & MATCH Functions for Two-Dimensional Lookup

  1. #1
    Registered User
    Join Date
    04-05-2015
    Location
    Saihat, Saudi Arabia
    MS-Off Ver
    2013
    Posts
    46

    INDEX & MATCH Functions for Two-Dimensional Lookup



    Hi,

    The INDEX function has a very simple job - look in a column of data and return a value from the row that you specify.

    The MATCH function also has a simple job - look in a column of data and return the row number of a value that you specify.

    We want to use these advantages of INDEX & MATCH functions for Two-Dimensional Lookup as explained in the following example:

    We have merit increases table that based on the annual performance rating of the employee and the position of his/her salary in the salary scale, we are aiming to get the merit increase percentage due to each employee by taking the following steps:

    Step (1):
    Select the Merit percentages only (B2:E6) (Heading of Rows & Columns of the merit Table are not selected) and go to the Formula Tab – Select – Define Name – Type "Merit" as the Name of the Merit percentages, then click OK.

    Name:  INDEX_MATCH_1.jpg
Views: 10875
Size:  134.6 KB

    Step (2)
    You can see The created Name by selecting Formulas Tab – Name Manager:

    Name:  INDEX_MATCH_2.jpg
Views: 10852
Size:  153.3 KB

    Step (3):
    Write the following Formula in Cell D10

    =INDEX(Merit;MATCH($B10;$A$2:$A$6;0);MATCH($C10;$B$1:$E$1;0))

    Copy the above Formula to Cells D11, D12

    Name:  INDEX_MATCH_3.jpg
Views: 10591
Size:  114.4 KB

    Attachment: INDEX_MATCH_Function.xlsx
    Last edited by IMA_Saihat; 04-19-2015 at 08:47 AM. Reason: Correction

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: INDEX & MATCH Functions for Two-Dimensional Lookup

    The INDEX function has a very simple job - look in a column of data and return a value from the row that you specify.
    This is only the visible and most used part of what INDEX can achieve. It's much more powerful than that

  3. #3
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: INDEX & MATCH Functions for Two-Dimensional Lookup

    Hi IMA_Saihat
    Thank you for the example formula. I am not the best with formulas & would have done this with VBA.
    Cheers
    Phil

+ 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: 0
    Last Post: 11-03-2014, 01:30 PM
  2. [SOLVED] Using Search and Lookup/Match/Index Functions
    By fl9805 in forum Excel General
    Replies: 14
    Last Post: 08-06-2014, 10:47 AM
  3. UDF Lookup function as an alternative to array functions & match/index
    By Andrew_Harris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-15-2012, 09:34 PM
  4. Replies: 14
    Last Post: 04-27-2010, 01:20 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