Multiple IF statements

davidanaya11579

New Member
Joined
Dec 26, 2017
Messages
11
I need to add an additional IF statement to a cell where I already have an IF statement. I need to add an additional IF statement to the below that states if A31="Destination Handling" then set a minimum limit value of 100 and a maximum limit value of 550 to P31, otherwise, use the below IF statement.

=NUMBERVALUE(IF(E31="per unit",K31*H31,H31))

Any ideas?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try

=MIN(IF($A$31="Destination Handling",550,9.99999999999999E+307),MAX(IF($A$31="Destination Handling",100,-9.99999999999999E+307),NUMBERVALUE(IF(E31="per unit",K31*H31,H31))))
 
Upvote 0
It works for me

In example below, If I change A31 to Destination Handling, then
M31 changes to the maximum value 550 and M32 changes to the minimum value 100


Book1
AEHKM
31OtherPer Unit251002500
32Per Unit21020
Sheet1
Cell Formulas
RangeFormula
M31=MIN(IF($A$31="Destination Handling",550,9.99999999999999E+307),MAX(IF($A$31="Destination Handling",100,-9.99999999999999E+307),NUMBERVALUE(IF(E31="per unit",K31*H31,H31))))
M32=MIN(IF($A$31="Destination Handling",550,9.99999999999999E+307),MAX(IF($A$31="Destination Handling",100,-9.99999999999999E+307),NUMBERVALUE(IF(E32="per unit",K32*H32,H32))))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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