» Retrieving the Column Header of the Largest Value in a Row
CATEGORY - Lookup Formulas
VERSION - All Microsoft Excel Versions
Problem: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:
- Accounting the Easy Way
- Financial Statement Analysis: A Practitioner's Guide, 3rd Edition
- Getting to Yes: Negotiating Agreement Without Giving In
- Advanced modelling in finance using Excel and VBA
- AWAKEN THE GIANT WITHIN : HOW TO TAKE IMMEDIATE CONTROL OF YOUR MENTAL, EMOTIONAL, PHYSICAL AND FINANCIAL
- The Complete Book of Business Plans: Simple Steps to Writing a Powerful Business Plan (Small Business Sourcebooks)
No comments have been submitted.

