andoano

New Member
Joined
Nov 10, 2012
Messages
9
Hello,
I'm trying to figure out if this is possible. I want to use a vlookup (or any formula) to return the lowest value of 5 specific values. We have 7 INDIVIDUAL MODEL NUMBERS. Then we have PACKAGE MODEL NUMBERS that include 5 of the INDIVIDUAL MODEL NUMBERS. In (Column D, Rows 2,3,4) I would like the formula to return the lowest value of the 5 INDIVIDUAL MODEL NUMBERS that make up the 1 PACKAGE MODEL NUMBER.

Here is an example:
Excel 2012
ABCDEFGHI
1INDIVIDUAL MODEL NUMBERQuantity AvailablePACKAGE MODEL NUMBERVLOOKUP (5 CELLS TOTAL)RESULT SHOULD BE PACKAGE_SINK1 INCLUDES THE FOLLOWING INDIVIDUAL MODEL NUMBERSPACKAGE_SINK2 INCLUDES THE FOLLOWING INDIVIDUAL MODEL NUMBERSPACKAGE_SINK3 INCLUDES THE FOLLOWING INDIVIDUAL MODEL NUMBERS
2FAUCET50PACKAGE_SINK115FAUCETFAUCETFAUCET
3DRAIN30PACKAGE_SINK210DRAINDRAINDRAIN
4WAX35PACKAGE_SINK35WAXWAXWAX
5SILICONE15SILICONESILICONESILICONE
6SINK120SINK1SINK2SINK3
7SINK210
8SINK35

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
PACKAGES VLOOKUP




Does anyone have any ideas on how to accomplish this formula?:confused: Is this even possible?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I had to make assumptions here. Every Package contains faucet, drain, wax and silicon. Every 'Package_SinkX' is spelled with a "_" and then "Sink" with a number following up to ten digits long. The rest of the columns are not used in this formula. Put it in D2 and copy down.

Code:
=MIN($B$2:$B$5,INDEX($B$6:$B$8,MATCH(MID(C2,SEARCH("_",C2)+1,10),$A$6:$A$8,0)))
 
Upvote 0

Forum statistics

Threads
1,214,551
Messages
6,120,159
Members
448,948
Latest member
spamiki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top