Multiple Logical Functions in one Formula

  • Thread starter Thread starter Jai
  • Start date Start date
J

Jai

How can we use multiple logical functions into one formula. We have 2 cells
with numerical values which are a result of various cells in the sheet. We
want the 3rd cell to be populated with "Excellent","Good" and "Needs
Improvement" if various conditions are fullfilled according to the values in
the 2 cells. For e.g. If A2 is between 96-100 and A3 is between 45-50 we want
cell A4 to be populated as "Excellent". If (A2 is between 96-100 and A3 is
between 40-44),(A2 is between 90-95 and A3 is between 45-90),(A2 is between
90-95 and A3 is between 40-44) then A4 to be populated as "Good".
 
=if(and(a2>=96,a2<=100,a3>=45,a3<=50),"Excellent",if(or(and(a2>=96,a2<=100,a3>=40,a3<=44),
and(a2>=90,a2<=95,a3>=45,a3<=90),and(a2>=90,a2<=95,a3>=40,a3<=44)),"Good","Needs
Improvement"))

Regards,
Fred
 
Back
Top