compare and return a value from another worksheet

M

Mike

I have a workbook with two worksheets ... Customer (A) & New Sales Price (B).
Worksheet A has a column listing item numbers and in a corresponding column
the current sales price of the item. Worksheet B has a complete listing of
all items and their corresponding new sales price. Worksheet A does not
include all the items on B but needs a column listing the new sales price for
only items that are on A. For example:

Worksheet A
Col A Col B Col C
1 100001PDW $0.40 New Price from WS B matching 100001PDW
2 100203PD $1.48 New Price from WS B matching 100203PD
3 100100 $0.22 New Price from WS B matching 100100

I want to use Worksheet B for multiple customer comparisons and will analyze
and explain impacts of the price change for each customer. So WS B is my
database with all items and their corresponding new price.

Hopefully this is enough info
 
A

Ashish Mathur

Hi,

You should use the VLOOKUP() function in column C =vlookup(A1,sheet 2
range,2,0). Please read up more on the VLOOKUP() function

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
M

Mike

Ashish:

Works great ... greatly appreciate your response and expertise.
--
Thanks aplenty
Mike


Ashish Mathur said:
Hi,

You should use the VLOOKUP() function in column C =vlookup(A1,sheet 2
range,2,0). Please read up more on the VLOOKUP() function

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 

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