A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
If you data is in E11:I16 and your list of values starts in K4, then enter the following formula in L4
=LET(d,$E$11:$I$17,
o,COLUMN(INDIRECT(CELL("address",d))),
f,TOCOL(IF(d=K4,ADDRESS(ROW(d),COLUMN(d),4),NA()),2),
INDEX(d,1,COLUMN(INDIRECT(f))-o+1))
and copy it down to the last value in columns K.
- d is the range of data to search.
- o is the offset to the first column of d.
- f is the address of the cell where the match was found.
- INDEX picks up the value at the top of the column where f is located.