Find and returning data.

M

Marcus

Ok, lets say on sheet 2 I have an inventory list. Colum1 has product name,
Colum 2 has Order #, and colum 3 has on hand qty. Now what I want to do is in
sheet 1 be able to type a product name, and have it return to me the order #,
and On hand qty. I know about ctrl-F, i dont want that. I want excel to
return the info to sheet 1. Any suggestions???
 
B

Barb R.

I'd use the VLOOKUP function. You'll have to set it up for both the Order #
and the On Hand Quantity and the data used for VLOOKUP needs to be sorted on
Sheet 2.

Let's say you have data as follows:

Sheet2
A1 = Product Name B1 = Order # C1=On Hand Quantity

and you have data down to row 100.


=VLOOKUP(A1,Sheet2!A2:C100,2,FALSE) for Order #
=VLOOKUP(A1,Sheet2!A2:C100,3,FALSE) for On Hand Quantity

If there is no match, the result will be N/A.
 
M

Marcus

That worked great.
Thanks Barb.

Barb R. said:
I'd use the VLOOKUP function. You'll have to set it up for both the Order #
and the On Hand Quantity and the data used for VLOOKUP needs to be sorted on
Sheet 2.

Let's say you have data as follows:

Sheet2
A1 = Product Name B1 = Order # C1=On Hand Quantity

and you have data down to row 100.


=VLOOKUP(A1,Sheet2!A2:C100,2,FALSE) for Order #
=VLOOKUP(A1,Sheet2!A2:C100,3,FALSE) for On Hand Quantity

If there is no match, the result will be N/A.
 

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