IF/And for compliance percentage

Drexl88

Board Regular
Joined
Jan 20, 2020
Messages
67
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
 

Some videos you may like

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

arthurbr

Well-known Member
Joined
Dec 8, 2006
Messages
2,200
Office Version
  1. 2010
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)
 

Watch MrExcel Video

Forum statistics

Threads
1,127,199
Messages
5,623,321
Members
415,966
Latest member
ctorohuamanchumo

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
Top