Formula - Multiple "IF's" for end result

jd706

New Member
Joined
Nov 6, 2017
Messages
3
Hello,

I would like some help please! I am trying to create a formula to show results of "frequency" based on "accuracy".

My spreadsheet is 150 rows; each row has a frequency result:

Accuracy
Frequency
≥99.5%
1x/yr.
≥98.0% but <99.5%
2x/yr.
<98.0%
4x/yr.

<tbody>
</tbody>
I created this formula, but not so sure it's correct. The formula is carried to each row, but the frequency result in most rows is not correct.
=IF(C5>99.5,"1x",IF(C5>98<99.5,"2x",IF(C5<98,"4x")))


<tbody>
</tbody>
 

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.
Welcome to the Board!

Since nested IF statements stop once a True condition is met, just work your way down the line, like this:
=IF(C5>99.5%,"1x",IF(C5>=98%,"2x","4x"))

Also, I don't know how your numbers are listed, be be aware that 99.5% really equals .995, not 99.5.
 
Upvote 0
You can also try a lookup
=LOOKUP(C5,{0,0.98,0.995},{"4x","2x","1x"})
 
Last edited:
Upvote 0

Forum statistics

Threads
1,217,376
Messages
6,136,195
Members
449,998
Latest member
jpaul123

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