Forum Discussion
null null
Oct 05, 2018Copper Contributor
excel formula to find value
I am looking for formula to enter in a cell that will find the first value in any column to the left of a cell. For example, if row 1 has values in column b, column c, and column d, I would like to ...
- Oct 05, 2018
That could be
=IFNA(OFFSET(A1,0,LOOKUP(2,1/NOT(ISBLANK(A1:E1)),COLUMN(A:E))-1),"")
and attached
SergeiBaklan
Oct 05, 2018Diamond Contributor
To clarify - your Excel is right to left or first column means one with value closest to column F?
- null nullOct 05, 2018Copper Contributor
I would like it to return the value in the column closest to col f in my example
- SergeiBaklanOct 05, 2018Diamond Contributor
That could be
=IFNA(OFFSET(A1,0,LOOKUP(2,1/NOT(ISBLANK(A1:E1)),COLUMN(A:E))-1),"")
and attached
- Detlef_LewinOct 05, 2018Silver Contributor
Or just LOOKUP().
=LOOKUP(2,1/(A1:E1<>""),A1:E1)