May 18 2022 08:39 PM - edited May 18 2022 09:19 PM
Hi
I'm trying to work out a formula for the following conditions in a range of cells, between the options of "Yes", "No" and "Mostly"
1.If all answers "Yes" then "Doing Our Job"
2.If a mixture of "Yes" "Mostly" then "Underperforming"
3.If at least one "No" then "Unacceptable" if not "Underperforming"
Currently I've worked out this formula using IFS function:
=IFS(SUMPRODUCT(--(C4:F24="Yes")),"Doing Our Job", COUNTIF(C4:F24,"No"),"Unacceptable",(COUNTIF(C4:F24,"Yes")+COUNTIF(C4:F24,"Mostly")),"Underperforming")
Is there a better way to do this?
Could you please help me with the same, thanks in advance!
May 18 2022 09:02 PM
Solution=IFS(
COUNTIFS(C4:F24,"Yes")=COUNTA(C4:F24),"Doing Our Job",
COUNTIFS(C4:F24,"No"),"Unacceptable",
TRUE,"Underperforming"
)
May 18 2022 09:32 PM
May 18 2022 09:43 PM
May 18 2022 10:11 PM
May 18 2022 10:24 PM
May 18 2022 09:02 PM
Solution=IFS(
COUNTIFS(C4:F24,"Yes")=COUNTA(C4:F24),"Doing Our Job",
COUNTIFS(C4:F24,"No"),"Unacceptable",
TRUE,"Underperforming"
)