C
cturner
I have 3 columns of data. Column A is part numbers. Column B is a qty
and Column C is a price. It is sorted alpha and there can be many of
the same part #'s.. What I want to do is look up a part number (lets
say #1) and then my VLOOKUP will only look in the rows that contain 1
as the Part# and lookup the QTY and bring me back a price. For
instace, I have a Part# of 1, and a Qty of 10, so I want to bring pack
the price of 100. I don't know if I need 2 vlookups, and INDEX, a
MATCH or what.
Please help. Chris
Part# qty price
1 2 20
1 5 50
1 10 100
1 20 200
1 30 300
1 50 500
2 2 20
2 5 50
2 10 100
2 20 200
2 30 300
2 50 500
and Column C is a price. It is sorted alpha and there can be many of
the same part #'s.. What I want to do is look up a part number (lets
say #1) and then my VLOOKUP will only look in the rows that contain 1
as the Part# and lookup the QTY and bring me back a price. For
instace, I have a Part# of 1, and a Qty of 10, so I want to bring pack
the price of 100. I don't know if I need 2 vlookups, and INDEX, a
MATCH or what.
Please help. Chris
Part# qty price
1 2 20
1 5 50
1 10 100
1 20 200
1 30 300
1 50 500
2 2 20
2 5 50
2 10 100
2 20 200
2 30 300
2 50 500