View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
malcolm malcolm is offline
external usenet poster
 
Posts: 57
Default Working with multiple sheets in a workbook

Hi,

I have 2 seperate sheets in my spredsheet that contains different data each,
but both sheets have a comon factor of inv number and line. I want to be on
sheet 1, lookup the info on sheet 2, if the Inv number and line agree, then
select column c from sheet 2, and insert it into sheet 1.

Example:

Sheet 1:

Culumn A - Invoice No.
Column B - Line No.
Column c - Customer

Sheet 2:
Column A - Inv No.
Column B - Line No.
Column C - Dimension

So if both column A&B match for both sheets, then take column C from sheet
2, and insert it in column D on Sheet 1.

Can this be done.

I tried the VLOOKUP, the IF, the OR, the AND, and nothing seems to work.