VLOOKUP problem

J

Jason

Hi,

I am struggling to find a solution to match my requirements & would
appreciate it if somebody can help me out. I have a spreadsheet with just
under 4500 lines of information. For each line, there are around 10 entries
(i.e.... 'description', 'shipment number', 'order number', 'cost per item',
'supplier', 'shipment method' etc).

I have a second spreadsheet which contains a completely different set of
information with the only common reference between the two spreadsheets
being the 'order number'.

I am looking to do a 'VLOOKUP' type search in my 2nd spreadsheet, to
reference the 'order number' in the 1st spreadsheet & return the result
from the shipment method column.

My problem: Spreadsheet 1 contains all of the information I require, but
the cells in the 'order number' column contain more than one reference all
within a single cell (i.e.... "PO1234, PO1235, PO1237"). So, if I do a
VLOOKUP and the lookup value of the cell I wish to lookup is "PO1235", it
will not be found because there is no cell in my 2nd spreadsheet with
just"PO1235" in it. It will be in a cell with "PO1234, PO1235, PO1237", in
it. I need VLOOKUP to find my cell reference within a cell within and then
return a value from a corresponding line (shipment method).

Thanks, Jason
 
G

Guest

One way

=INDEX(Sheet3!$B$2:$B$4000,MATCH(TRUE,ISNUMBER(FIND("PO1234",Sheet3!$G$2:$G$4000)),0))

entered with ctrl + shift & enter
where Sheet3!G2:G4000 is the range that holds the shipment method
and Sheet3!B2:B4000 the range that holds the shipment number


Regards,

Peo Sjoblom
 

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