» Retrieving Each Row Number that Corresponds with Successful Matches in a Look Up
CATEGORY - Excel Text Formulas
VERSION - All Microsoft Excel Versions
We want to search List1 (column A) for the value stored in cell B2 and retrieve the row numbers that correspond with every successful match.
Solution:
Use the SMALL, IF, and ROW functions as shown in the following Array formula:
{=SMALL(IF($A$2:$A$8=$B$2,ROW($A$2:$A$8),99999),ROW()-ROW($B$2)+1)}
Copy the formula down column C until 99999 is returned, which indicates that no further matches were found.
To apply Array formula:
Select the cell, press
Book Store:
Recommended Books:
- Keys to Reading an Annual Report (Barron's Business Keys)
- Rich Dad's Guide to Investing: What the Rich Invest in, That the Poor and the Middle Class Do Not!
- Learn MS Excel 2002 VBA/XML Programming
- Flipping Properties: Generate Instant Cash Profits in Real Estate
- Microsoft Excel 2002 Simply Visual
- Financial Risk Manager Handbook, Second Edition
No comments have been submitted.

