View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett Excel MVP Don Guillett Excel MVP is offline
external usenet poster
 
Posts: 168
Default Howto populate a column with values coming from another sheet

On Nov 11, 4:42*am, Mardot wrote:
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

--
Mardot


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."