IF/And for compliance percentage

Drexl88

Board Regular
Joined
Jan 20, 2020
Messages
75
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am using the below formula to return text base on the percentage in a cell H12; however, whatever the percentage in H12 the cell with the formula returns "Unsatisfactory (1)"

=IF(AND(H11>=0,H11<=40),"Unsatisfactory (1)",IF(AND(H11>=40.01,H11<=59.9),"Weak (2)",IF(AND(H11>=60,H11<=69.9),"Adequate (3)",IF(AND(H11>=70,H11<=84.9),"Good (4)",IF(AND(H11>=85,H11<=95.9),"Very Good (5)",IF(AND(H11>=96,H11<=100),"Excellent (6)"," ""Zero"))))))

Please help.

Thanks

Simon
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How is you percentage expressed in H11? Like 40% or 0.4 or 40 ? Depending on that you will have to adapt the value in H11 ( or the values in the formula)
After that, you can also shorten your formula to something like
Excel Formula:
=LOOKUP(A11,{0;40;60;70;85;96;100},{"Unsatisfactory (1)";"Weak (2)";"Adequate (3)";"Good (4)";"Very Good (5)";"Very Good (5)"})
(I don't see where "zero" would fit in)
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

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