Join to IF Statements referring to percentages

tlc53

Active Member
Joined
Jul 26, 2018
Messages
399
Hi there,

I can't work out why I can't join these two IF Statements. Separately, they work fine.

=IF(J40<3.5%,"Acceptable Variance (Does not exceed 3%)","Unacceptable Variance! (Exceeds 3%)")
=IF(J40>-3.5%,"Acceptable Variance (Does not exceed 3%)","Unacceptable Variance! (Exceeds 3%)")

But if I join them together;
=IF(OR(J40<3.5%,J40>-3.5%),"Acceptable Variance (Does not exceed 3%)","Unacceptable Variance! (Exceeds 3%)"))

It doesn't work. I want to capture when it exceeds +/- 3.5%

Can anyone see where I am going wrong?

Thanks!
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
try less than for the negative value instead of greater than

alternatively re-write using ABS
 
Upvote 0
Solution
you're welcome

the greater than -3.5% didn't work cause you want less than -3.5%
the number scale increases from -10% to -3.5% to 0% to 10%
-10% & -5% are less than -3.5%
2% and 4% are greater than -3.5%
 
Upvote 0

Forum statistics

Threads
1,223,892
Messages
6,175,236
Members
452,621
Latest member
Laura_PinksBTHFT

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