I need help with a simple vlookup formula

P

phjohnso

I have a workbook with two worksheets in it

worksheet A contains (starting in row 2)

A - Product ID
B - Part Number
C - List Price
D - Customer Price

worksheet B contains (starting in row 2)

A - Part Number
B - Price

I need to put a formula in the customer Price cell of worksheet A that
will lookup the matching part number in worksheet B and use the price
in cell b of worksheet B to populate cell d of worksheet A.

I get daily price updates from a vendor daily and need a way to update
prices on over 4,000 products with the updates they send me.

Thanks in advance,

Sincerely

pj
 
S

Special-K

Assuming Worksheet B is in the same workbook as Worksheet A this should
work:

In column D of worksheet A

=VLOOKUP(B1,Worksheet B!A1:B65535,2,TRUE)

and copy the formula down the D column


Remember Worksheet B must be in ascending order
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top