|  

» Finding the First Value in a Row and Retrieving the Header for That Column

Problem:

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)))}


Rate This Tip
12 34 5
Rating: 3.10     Views: 9758
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments