Howto populate a column with values coming from another sheet

M

Mardot

Hello to everybody.
I have an Excel workbook with two sheets.

The first one (named "CME") is the bill of components with Position,
Product Code and Quantity:
Position 1, Code1, Qty
Position 2, Code1, Qty
Position 3, Code2, Qty
Position 4, Code3, Qty
Position 5, Code2, Qty

The second one (named "MASTER DATA") is the list of Products with Code,
Description and other data.

Now I must prepare a report which must indicate both Product Code and
Product Description, so I need to get from "MASTER DATA" the right
description for each code I find in "CME".

Could you give me a macro solution or at least an example?

I thank you very much in advance.
Bye bye
 
D

Don Guillett Excel MVP

Hello to everybody.
I have an Excel workbook with two sheets.

The first one (named "CME") is the bill of components with Position,
Product Code and Quantity:
Position 1, Code1, Qty
Position 2, Code1, Qty
Position 3, Code2, Qty
Position 4, Code3, Qty
Position 5, Code2, Qty

The second one (named "MASTER DATA") is the list of Products with Code,
Description and other data.

Now I must prepare a report which must indicate both Product Code and
Product Description, so I need to get from "MASTER DATA" the right
description for each code I find in "CME".

Could you give me a macro solution or at least an example?

I thank you very much in advance.
Bye bye

For a functin solution, look in the help index for VLOOKUP. Or, a
macro
"If desired, send your file to dguillett @gmail.com I will only look
if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results."
 
M

Mardot

Il 11/11/2010 14.26, Don Guillett Excel MVP ha scritto:
For a functin solution, look in the help index for VLOOKUP

Thank you Don, that's exactly what I was looking for.
 

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