I am using the following code to lookup the value in A10 occuring in row 2 returning the value in row 1 in the corresponding column. If the row contains multiple occurances of A10 I would like to find the nth occurance i.e. the 1st, 2nd, 3rd, 4th .......
I know there are ways of using INDEX, SMALL, MATCH and OFFSET but am struggling to get it to work.
Any ideas?
[code]
=OFFSET(B1:Q2,0, MATCH(A10, OFFSET(B1:Q2,ROWS(B1:Q2)-1,0,1,COLUMNS(B1:Q2)),0)-1,1,1)
[/code
Bookmarks