Nested if statement

clares

Well-known Member
Joined
Mar 14, 2002
Messages
557
Hi All

I've been trying to figure out this nested if statement for a while and come here to seek your expertise if anyone can help.

AB15 = Total AMV (5174)
AC15 = Min RMPV (750)
AD15 = Max RMPV (3000)

In one formula I would like to evaluate the following:

If AB15 >= AC15 and <= AD15 = "Correct Device" else
If AB15 <= AC15 = "Reduce Specification" else
If AB15 >= AD15 = "Increase Specification"

Thank you very much in advance

Peter
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Peter - what EXACTLY is in cells AB15, AC15 and AD15? If just a number, then this:

=IF(AND(AB15 > =AC15,AB15 < = AD15),"Correct Device",IF(AB15 < AC15, "Reduce Specification",IF(AB15 > AD15,"Increase Specification","")))
 
Upvote 0
This is perfect, thank you so much.
You could perhaps also consider this slightly more compact version.

=IF(AB15<AC15,"Reduce Specification",IF(AB15>AD15,"Increase Specification","Correct Device"))

I would also point out that you original specifications are somewhat ambiguous.
For example, if AB15 is exactly equal to AC15 then that scenario fits your description of both "Correct Device" and "Reduce Specification"
A similar situation exists if AB15 = AD15
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,207
Members
448,554
Latest member
Gleisner2

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