Google Exceltip.com
Account Icon
Shopping Cart
CheckOut

» Retrieving the Row Number that Corresponds with a Matched Value in a Look Up

Problem:

We want to search List1 (column A) for each of the letters in column C and retrieve the corresponding row number.

Solution:

Use the MAX, IF, and ROW functions as shown in the following Array formula:
{=MAX(IF($A$2:$A$15=C2,ROW($A$2:$A$15)))}

To apply Array formula:
Select the cell, press and simultaneously press .
Rate this tip
12 34 5
  RATING: 4.67
  VIEWS: 8184
  No comments have been submitted.


REGISTERED USERS click here to post comments


GUESTSclick here to Register
Name
Comment Title
Comments


Terms and Conditions of use
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Copyright © 2003 ExcelTip.com
Microsoft, Microsoft Excel is a U.S. registered trademark of Microsoft Corporation