Multiple Logical Functions in one Formula

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".
 
F

Fred Smith

=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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top