Alternative for Nested IF formula

Luke_1814

New Member
Joined
Aug 17, 2017
Messages
21
Hi Guys,
Chose the right box to store Part A which has volume of 2.7

Box name(Column A)Box Volume(Column B)
b11
b22
b33

<tbody>
</tbody>

Based on on above table i would use an if conditions which goes like this,
=IF($F$1<=B2,A2,IF($F$1<=B3,A3,IF($F$1<=B4,A4)))

is there any other alternative instead of using IF function. the above example contains 3 rows, however in reality i would need to apply IF func for 100+ rows. Please help.
 
Hi,
This workaround solved entire issue i had. you are my savior. genius work! thanks for all the help...

How about putting each of the storage dimensions in order and each of the product dimensions in order and then applying the formula to those ordered dimensions. For example:

Excel 2013/2016
ABCDEFGHIJKL
1Part No.LDHWtQtyVolWtPart Dim 1Part Dim 2Part Dim 3SUT
2A12349.59.510.0375000.04512518.519.59.5A15
3A1235352010.00310000.7312035A1
4A123612802001305.9200665611801302001280No fit
5A123716002301920221423016001920No fit
6
7
8SUTLDHVWtSUT Dim 1SUT Dim 2SUT Dim 3
9A195130901.111569095130
10A295180901.53989095180
11A395280902.394139095280
12A1510001200130015601000100012001300
13

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

Worksheet Formulas
CellFormula
I2=SMALL($B2:$D2,1)
J2=SMALL($B2:$D2,2)
K2=SMALL($B2:$D2,3)
G9=SMALL($B9:$D9,1)
H9=SMALL($B9:$D9,2)
I9=SMALL($B9:$D9,3)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Array Formulas
CellFormula
L2{=IFERROR(INDEX($A$9:$A$12,MATCH(1,IF(I2<=$G$9:$G$12,IF(J2<=$H$9:$H$12,IF(K2<=$I$9:$I$12,IF(H2<=$F$9:$F$12,IF(G2<=$E$9:$E$12,1))))),0)),"No fit")}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Upvote 0

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,214,606
Messages
6,120,487
Members
448,967
Latest member
visheshkotha

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