Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Petitboeuf
 
Posts: n/a
Default Formula to lookup the row number


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: http://www.excelforum.com/member.php...o&userid=10602
View this thread: http://www.excelforum.com/showthread...hreadid=503967

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dav
 
Posts: n/a
Default Formula to lookup the row number


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 match


A vlookup would work but you would need to add a colum with the numbers
in.


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=503967

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to lookup last number in colum Diamonelle Excel Worksheet Functions 1 July 25th 05 06:36 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
How do I replace a negative number at the end of a formula with a. dealn2 Excel Discussion (Misc queries) 5 December 23rd 04 07:47 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 09:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"