Row Number of VLOOKUP result
Mike H wrote...
Use MATCH
=MATCH(C1,A1:A10,0)
....
Generalizing, if the OP's VLOOKUP call were of the form
=VLOOKUP(v,t,c)
the row number of the match would be given by
=MATCH(v,INDEX(t,0,1))+MIN(ROW(t))+1
and if the OP's VLOOKUP call were of the form
=VLOOKUP(v,t,c,0)
the row number of the match would be given by
=MATCH(v,INDEX(t,0,1),0)+MIN(ROW(t))+1
These formulas work no matter in which cell the VLOOKUP table t begins.
|