ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Multiple Logical Functions in one Formula (https://www.excelbanter.com/excel-worksheet-functions/174054-multiple-logical-functions-one-formula.html)

jai

Multiple Logical Functions in one Formula
 
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".

Fred Smith[_4_]

Multiple Logical Functions in one Formula
 
=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

"Jai" wrote in message
...
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".




All times are GMT +1. The time now is 12:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com