close

Hiya Experts!

I am trying to get a simple formula in Excel to return the row number
based on a lookup.

I'll try to clarify if this doesn't make sense.

I have in cell A1 of Book1 a text. Based on that text I want in cell B1
of Book1 enter the ROW where the same text is in Book2.

I guess it's a tweak of vlookup but I fail to return the row number...

Many thanks!--
Petitboeuf
------------------------------------------------------------------------
Petitboeuf's Profile: www.excelforum.com/member.php...oamp;userid=10602
View this thread: www.excelforum.com/showthread...hreadid=503967
Have you tried the match function
If for example your range of data to compare against was c1:c35

MATCH(A1,Sheet2!C1:C35,0)

This gives you the row of the first match. If your data started in row5
for example amend the formula MATCH(A1,Sheet2!C5:C39,0) 4.

The final 0 in the formula just ensures an exact matchA vlookup would work but you would need to add a colum with the numbers
in.--
Dav
------------------------------------------------------------------------
Dav's Profile: www.excelforum.com/member.php...oamp;userid=27107
View this thread: www.excelforum.com/showthread...hreadid=503967

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()