View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Vlookup or match function?

sheet 2
f1 = package number
g1 = rework reason


Assuming that the above is actually a TABLE of data.

Entered on Sheet1 B1:

=VLOOKUP(A1,Sheet2!F:G,2,0)

If no match is found the formula will return #N/A.

--
Biff
Microsoft Excel MVP


"Belinda7237" wrote in message
...
I can't quite get this to work, hoping someone can help:

I have two worksheets and if there is a match i want it to return a value:

sheet 1
A1 = package #
b1 = rework reason (this field is blank and is where i want the data
populated)

sheet 2
f1 = package number
g1 = rework reason

If there is a matching package number on sheet 2, then i want the rework
reason in column G to be placed in the rework reason in sheet 1 column B.

Any help is appreciated