How can i find the first occurrence of a value in a range of cells. If the value is found then return the columns header label. If the value is not found, then return text "none".
Attached spreadsheet with example data set.
Thank you all!!
How can i find the first occurrence of a value in a range of cells. If the value is found then return the columns header label. If the value is not found, then return text "none".
Attached spreadsheet with example data set.
Thank you all!!
Hi,
In cell A2, use this formula:Then drag it down as far as is necessary.Formula:
Please Login or Register to view this content.
Hope this helps![]()
Last edited by ajryan88; 09-09-2013 at 06:48 PM.
Try this...
=IFERROR(INDEX(B$1:K$1,MATCH("Yes",B2:K2,0)),"None")
Copy down as needed.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks