» Retrieving the Column Header of the Largest Value in a Row
CATEGORY - Lookup Formulas
VERSION - All Microsoft Excel Versions
Range A1:E5 contains four players' scores in four games.
Each column from B to E contains the scores of one player for each of the four games listed in column A. The column header corresponds to the name of that particular player.
We want to add a new column (F) that contains the name of the winner of each game.
Solution:
Use the INDEX, MATCH, and MAX functions as shown in the following formula:
=INDEX($B$1:$E$1,1,MATCH(MAX(B2:E2),B2:E2,0))
Book Store:
Recommended Books:
- Your First Business Plan: A Simple Question and Answer Format Designed to Help You Write Your Own Plan (3rd Ed)
- Definitive Guide to Excel VBA
- The 22 Immutable Laws of Branding
- Special Edition Using Microsoft Office XP
- The 22 Immutable Laws of Marketing : Exposed and Explained by the World's Two
- East of Eden (Oprah's Book Club)
No comments have been submitted.

