Lookup and add values from 3 columns

  • Thread starter Thread starter Pritch14
  • Start date Start date
P

Pritch14

I have a worksheet with stock locations in, Column A = Aisle, Column B
Location Column C= Level Column D=Item number

I would like to return the value in column A through C on a new shee
when I put in a certain item number, that matches value in column D
kind of like a pivot table but not!

Any ideas
 
Hi

One way is to use something like this:
=OFFSET(D1,MATCH(Sheet2!A1,D:D,0)-1,-1)
This will return whatever is in column C - where the number in Sheet2!A1
matches column D. To return the same from B and A use:
=OFFSET(D1,MATCH(A1,D:D,0)-1,-2)
and
=OFFSET(D1,MATCH(A1,D:D,0)-1,-3)
 
Andy:
Are you assuming OPs info in sheet2
and your using offset formulas in sheet1?
Also, if in sheet1 are you using same column
structure with D = item number?
Thanks,

so far I'm just getting #N/A

Thanks,


Andy B said:
Hi

One way is to use something like this:
=OFFSET(D1,MATCH(Sheet2!A1,D:D,0)-1,-1)
This will return whatever is in column C - where the number in Sheet2!A1
matches column D. To return the same from B and A use:
=OFFSET(D1,MATCH(A1,D:D,0)-1,-2)
and
=OFFSET(D1,MATCH(A1,D:D,0)-1,-3)
 
Hi

Yes. Maybe I put it the wrong way round!
This might make more sense:
=OFFSET(Sheet2!D1,MATCH(A1,Sheet2!D:D,0)-1,-1)
Where the formula uses A1 from the sheet you are in and the formula looks up
the info from sheet 2

--
Andy.


Jim May said:
Andy:
Are you assuming OPs info in sheet2
and your using offset formulas in sheet1?
Also, if in sheet1 are you using same column
structure with D = item number?
Thanks,

so far I'm just getting #N/A

Thanks,
 
Thanks Andy; I got it going.
Jim

Andy B said:
Hi

Yes. Maybe I put it the wrong way round!
This might make more sense:
=OFFSET(Sheet2!D1,MATCH(A1,Sheet2!D:D,0)-1,-1)
Where the formula uses A1 from the sheet you are in and the formula looks up
the info from sheet 2

--
Andy.


Column
 

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

Similar Threads

SUM - IF - AND 7
Sum / Lookup 9
retrieving values from a certain column 2
make a minus a zero 2
lookup and return column number 2
Column Numbers 4
Excel Concatenate with line breaks but ignore blank cells 3
IF and Vlookup 1

Back
Top