IF AND statement with multiple outcomes

Demona26

New Member
Joined
Feb 22, 2018
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi All. I feel like there is an easy answer to this one; I've been trying nested formulas but I can't get it right.
I want to do an IF/AND statement that will produce one of 3 outcomes.
This is what the final results should look like: first 2 rows are values. 3rd row is the result I want.

[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]20%
[/TD]
[TD]50%
[/TD]
[TD]90%
[/TD]
[/TR]
[TR]
[TD]10%
[/TD]
[TD]20%
[/TD]
[TD]10%
[/TD]
[/TR]
[TR]
[TD]NA
[/TD]
[TD]Yes
[/TD]
[TD]No
[/TD]
[/TR]
</tbody>[/TABLE]

Basically I want this: if you subtract the first 2 rows, you will get a result.
If the result is less than 40%, and the value in the first row is less than 40%, return NA
If the result is less than 40% and the value in the first row is greater than 40%, return YES
If the result is greater than 40% and the value in the first row is greater than 40%, return NO

Any help you can provide would be appreciated.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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