» Retrieving the Column Header that Corresponds with a Matched Value
CATEGORY - Lookup Formulas
VERSION - All Microsoft Excel Versions
Looking up the range A2:C5 for each of the values listed in column E, and retrieving the corresponding column header for each match.
Solution:
Use the INDEX, SUMPRODUCT, MAX, and COLUMN functions as shown in the following formula:
=INDEX($A$1:$C$1, SUMPRODUCT(MAX(($A$2:$C$5=E2)*(COLUMN($A$2:$C$5))))-COLUMN($A$1)+1)
Book Store:
Recommended Books:
- Microsoft Windows XP Step by Step (With CD-ROM)
- The McGraw-Hill Guide to Writing a High-Impact Business Plan: A Proven Blueprint for First-Time Entrepreneurs
- Microsoft Word Version 2002 Step By Step (With CD-ROM)
- Monte Carlo Methods in Finance
- Managerial Accounting: Tools for Business Decision Making, WebCT, 2nd Edition
- Mastering Excel 2000 (for beginner)
No comments have been submitted.

