Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help with lookup
I need to lookup a number from sheet(1) and find the ROW that number is in
column A of sheet(2) for example 4111300 is in A2 of sheet(1). I need to know what row that number is in col A of sheet(2) Any ideas? Glen |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help with lookup
try this code in vbeditor
Public Sub test() Worksheets("sheet2").Activate Cells.Find(what:=Worksheets("sheet1").Range("a2")) .Activate MsgBox ActiveCell.Row End Sub is this what you want. Glen Mettler wrote in message ... I need to lookup a number from sheet(1) and find the ROW that number is in column A of sheet(2) for example 4111300 is in A2 of sheet(1). I need to know what row that number is in col A of sheet(2) Any ideas? Glen |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help with lookup
=MATCH(your number,Sheet2!A:A,0 -- duan ----------------------------------------------------------------------- duane's Profile: http://www.excelforum.com/member.php...fo&userid=1162 View this thread: http://www.excelforum.com/showthread.php?threadid=31416 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
lookup help. lookup result based on data in 2 columns | Excel Worksheet Functions | |||
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU | Excel Discussion (Misc queries) | |||
Matrix lookup/mulitple criteria lookup | Excel Discussion (Misc queries) | |||
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup | Excel Worksheet Functions | |||
Pivot table doing a lookup without using the lookup function? | Excel Discussion (Misc queries) |