Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50139

How to Get Vlookup Results when der are multiple rows with the same "Lookup Value"

$
0
0
I have a data base where my enter my order no and specifications ordered against that.
Sometime one order carries many specifications, so we use new rows for each specification, but with the same order number.

I use this data array to Vlookup the supplier name and specification to a formal Purchase order form.

For a specific order Number entered, how do i get all the corresponding rows from my order database.

My order data base is ::
PO no. Date Gge Wdth Lac
17 2/20/2013 30 88 pol
18 3/2/2013 40 280 ps
18 3/2/2013 40 240 ps
19 3/20/2013 40 264 ps
19 3/20/2013 40 140 pol
19 3/20/2013 40 280 PP


SO now when i Enter 19, in the PO No box in my order format
hwo do i get to fill in all the three or 4 lines of specifications that orer 19 refers to ?
I can only get the row that come first using Vlookup ...

Attached is a sheet as well.
Attached Files

Viewing all articles
Browse latest Browse all 50139

Trending Articles