Professional Documents
Culture Documents
Logical Functions
Logical Functions
Logical Functions
Question
Wherever the Price column value is more than 2000, Find the
Result Column Staus as "HIGH" Else "LOW"
=A5>2000 = IF(A5>2000,"HIGH","LOW")
Price Result HIGH//LOW
3000 1 HIGH
1350 FALSE LOW
600 FALSE LOW
100 FALSE LOW
4069 TRUE HIGH
99 FALSE LOW
2518 TRUE HIGH
=IF(B5>C5,"decrement","increment,")
1/O
decrement
decrement
decrement
decrement
decrement
decrement
1
Result Question
score is greater than or equal to
90, Result should be "PASS" Else
"FAIL"
Question
Total Unit returns Error, replace
the same with a Text " Please
Enter Value more than 0"
Boolean Values
FALSE
TRUE
=IF(B5>C5,"decrement","increment,")
Result
increment,
increment,
decrement
increment,
increment,
decrement
Question
Geography > 40 AND Civics > 20 then Pass else Fail
Geography Civics
Name AND
(Marks out of 100) (Marks out of 50)
Sonal Agarwal 44 34 1
Palak Bharuka 88 22 TRUE
Shraddha D 81 12 FALSE
Rupali S 81 11 FALSE
Roopa B 60 44 TRUE
Nilima B 12 23 FALSE
Jayshree T 11 23 FALSE
=IF(AND(B5>40,C5>20),"PASS","FAIL")
Result IF(AND)
PASS Condition 1
PASS T
FAIL T
FAIL F
PASS F
FAIL
FAIL
Condition 2 Condition 3
T T
F F
T F
F F
FIND OUT WHETHER THE PERSON IS ELIGIBLE OR NOT ELIGIBLE FOR BONUS
Name Salary p.a. (US$) Division Rating
Gopal Agrawal 38,261 HFD 3
Aniket Khirsagar 82,135 RAD 4
Rahul Shirude 24,566 HFD 1
Raju Chudiwal 25,000 CDFD 2
Pramod Pawar 38,038 HFD 1
Pandhari Tayde (SIR) 72,682 RAD 3
Philip Bhalerao 353,556 ED 5
Pavan Lalwani 55,089 RAD 2
Sonal Agarwal 35,000 CDFD 1
Ajinkya Deshmukh 98,527 RDD 4
Gopal Agrawal 20,337 CDFD 1
Aniket Khirsagar 18,158 CDFD 3
NOT ELIGIBLE FOR BONUS
Rating 1-3 AND Division "CDFD" AND Salary < 50K
Not Eligible
Not Eligible
Not Eligible
Eligible
Not Eligible
Not Eligible
Not Eligible
Not Eligible
Eligible
Not Eligible
Eligible
Eligible
Question
Geography > 40 OR Civics > 20 then Pass else Fail
Geography Civics
Name OR
(Marks out of 100) (Marks out of 50)
Umesh S 44 34 1
Mahesh S 88 22 TRUE
Rahul Khandelwal 33 12 FALSE
Vijay Lalwani 81 11 TRUE
Rahul Mohite 60 44 TRUE
Dilip Thete 12 11 FALSE
Result Question
if the first score is greater than or equal to 60 or the second scor
"PASS" Else
Question
Find the Total Unit and if the Total Unit returns Error, replace the
0"
Result
T
T
T
F
returns Error, replace the same with a Text " Please Enter Value more than
STATUS When there are more then
Rating
Name Rating
Output = IFS(B3<=3,"GOOD
Ajay Sharma 3 GOOD
Aniket Kshirsagar 4 OK
Gopal Bharuka 1 GOOD
Mahesh Siroya 5 OK
Umesh Siroya 1 GOOD
Nilesh Jaiswal 6 BAD
Palak Bharuka 5 OK
Sonal Agarwal 7 BAD
Pandhari Tayde 1 GOOD
Pramod Pawar 8 BAD
Rahul Khandelwal 1 GOOD
Rahul Mohite 2 GOOD
en there are more then two conditions , Use IFS
= IFS(B3<=3,"GOOD",B3<=5,"OK",B3>5,"BAD")
Purchase Debit
Sale Credit
=IF(B2="purchase","debit","credit")
Name Marks Grade Assignment
Amarjeet Singh 81
Sachin Kumar Sharma 74
Mohit Malik 44
Deepak Sharma 75
Kratika Bhatnagar 66
Gaurav Khanna 86
Asif Khan 41
Ajaj Kumar Rana 63
Aakash Bhutani 89
Praveen Sharma 89
Ravi Ranjan 86
Vivek Pant 61
Pallavi Srivastava 42
Anoop Kumar Singh 28
Shivam Kumar Gupta 57
Akhil Gupta 93
Yatish Kumar 89
Niranjan Singh Jagde 82
Outstanding >=90
Distinction >=80
First Division >=60
Second Division >=45
Third Division >=33
Fail