» Finding the First Value in a Row and Retrieving the Header for That Column
CATEGORY - Lookup Formulas
VERSION - All Microsoft Excel Versions
Columns B:G contain the monthly payments for the first half of the year that were made for each investment in column A.
The payments for each investment may start or end on any of the months.
We want to retrieve the month on which payments for each investment started.
Solution:
Use the INDEX, MIN, IF, and COLUMN functions as shown in the following Array formula:
{=INDEX($B$1:$G$1,MIN(IF(B2:G2<>"",COLUMN($B$1:$G$1)-COLUMN(B1)+1)))}
Book Store:
Recommended Books:
- Final Accounting: Ambition, Greed and the Fall of Arthur Andersen
- Microsoft Windows XP Inside Out
- Managerial Accounting: Tools for Business Decision Making, WebCT, 2nd Edition
- Rich Dad's Guide to Investing: What the Rich Invest in, That the Poor and the Middle Class Do Not!
- The Sweet Potato Queens' Big-Ass Cookbook and Financial Planner
- Special Edition Using Microsoft Outlook 2002
No comments have been submitted.

