Logical Assignment
Logical Assignment
ID 2025/10759
Course Name DS
IF Function:
Question 02- How does the IF function work in Excel, and what is its primary purp
Answer 02 The if function is used to make decisions according to conditions.It checks the condition and r
Primary purpose of "IF" function is helping in decision making
Example:
EMPLOYEE NAME CREDIT Rating
Surya 4.0
Pratyaksh 5.5
Purva 6.5
Samarth 3.0
Answer 03- EXAMPLE- Imagine you are hosting a party and you have invited the guests.Now,y
so creating to table where if guest is going to attend the party then it w
Guest Age
Samarth 21
Aryan 32
Ishita 35
Parag 29
Surya 44
Question 04- What is the difference between the IF function and the IFS function
Answer 04- IF function is used for single condition on the other hand IFS function is used for multiple con
Question 05- How can you nest multiple IF functions to create more complex logic
Answer 05- Nested IF in excel is when we used multiple ifs for multiple conditions
AND FUNCTION:
Question 01- Explain the purpose of the AND function in Excel, and how is it used
Answer 01- AND function shows that if all the given condition is TRUE,then it will give TRUE. If any conditi
NAME SCIENCE
Samarth 83
Aryan 1
Ishita 42
Parag 46
Surya 84
Pratyaksh 4
Purva 65
Question 02- Provide an example of using the AND function to check if multiple co
Question 03- What happens if you use the AND function with only one logical con
Answer 03- If we use AND function with only one logical condition in excel then it will automatically retur
If value satisfy the condition it will automatically return true
Question 04- How can you use the AND function in conjunction with the IF functio
Answer 04-
OR FUNCTION:
Question 01- What is the primary use of the OR function in Excel, and how does it
Answer 01- OR function shows TRUE even if single condition is TRUE and shows FALSE If all conditions are
wheres, AND functions shows TRUE if all the conditions are TRUE otherwise it shows FALSE
Question 02- Give an example of using the OR function to check if at least one of
Question 03- Explain how the NOT function can be combined with the OR function
Answer 03- When we use NOT function,it will reverse the value of OR function
NOT FUNCTION:
Question 01- Describe the purpose of the NOT function in Excel and its role in log
Answer 01- NOT function in excel is used to reverse the value. It works only single condtion
Question 02- Provide an example of using the NOT function to reverse the outcom
Question 03- How does the NOT function affect logical expressions that contain o
IFERROR FUNCTION:
Question 01- What is the IFERROR function in Excel, and when would you use it?
Answer 01- IFERROR function is used to handle errors in formulas when an error occurs.It is used to hand
data.
Question 02- Provide an example of using the IFERROR function to handle errors
Question 03- How can you nest the IFERROR function with other functions, like IF
Answer 03-
XOR FUNCTION:
Question 01- What is the XOR function in Excel, and in what situations would you
Answer 01- XOR Function is used at the place of OR but with multiple condition. It is use to check whethe
of two conditions is true but not both.
Question 02- Provide an example of a logical test where the XOR function is the m
Question 03- You have a list of student scores in column A, and you want to calcu
Question 04- In a sales dataset, you want to determine if a sale is considered a "L
Question 05- You have a list of job applicants, and you want to filter those who m
Question 06- In a project management sheet, you want to check whether a task i
IMPORTANT QUESTION
Question 01- What are logical functions in Excel, and how are they used in spread
Answer 01- Logical function in excel is used to help in making decision according to the condition. Return
Some logical function are- IF , NESTED IF, AND ,OR , NOT , XOR etc
Question 02- Can you explain the primary differences between the IF, AND, and O
Answer 02 IF Function=The if function is used to make decisions according to conditions.It checks the co
AND Function= It Checks Whether all arguments are true then return true if any of the argum
OR Function= It Checks Whether any of the arguments are True and return True or False retu
Question 03- When would you use the IF function in Excel, and can you provide a
Answer 03- The "IF" function is a powerful logical function in Excel that allows you
EXAMPLE-
Name Maths
Samarth 63
Aryan 38
Ishita 74
Parag 75
Question 04- How can the IF function be nested within itself to create more comp
Question 05- Describe the purpose of the AND function in Excel. Give an example
Answer 05- AND Function= It Checks Whether all arguments are true then return true if any of the argum
Question 06- When is the OR function typically employed in Excel, and how does
Answer 06- OR function shows TRUE even if single condition is TRUE and shows FALSE If all conditions are
Question 07- How does the NOT function work in Excel, and can you provide an e
Answer 07- NOT function in excel is used to reverse the value. It works only single condtion
EXAMPLE-
Answer 08- IFERROR function in Excel is used to handle errors in formulas when an error occurs.It is used
data.
tions.It checks the condition and return the values in "TRUE" and "FALSE"
CREDIT
NO Credit
NO Credit
Extend Credit
NO Credit
you have invited the guests.Now,you want to check which one of the guest are coming
going to attend the party then it will change color of the cell to green otherwise red
Science SST
62 73
42 25
34 30
30 87
39 41
64 43
76 99
Science SST
62 73
42 25
34 30
30 87
39 41
64 43
76 99
hen it will give TRUE. If any condition is FALSE,then it will give FALSE
MATHS ENGLISH
88 70
10 9
97 27
6 84
79 53
78 71
19 44
IFERROR
Wrong Data
0
Wrong Data
0.682619647355164
0.117246080436264
A, and you want to calculate the grade for each student based on the following criteria: A for scores a
f a sale is considered a "Large Sale" if the order amount is greater than $1,000, and "Small Sale" if it's
want to filter those who meet at least one of the two criteria: they have either a Master's degree or mor
Eligiblity
Not Eligible
Eligible
Eligible
Not Eligible
Not Eligible
Eligible
Eligible
to check whether a task is overdue or incomplete. A task is overdue if the due date has passed (Colum
Result
Pending
Done
Pending
Done
Done
Pending
Pending
Pending
according to the condition. Return value in TRUE or FALSE according to the conditon
ding to conditions.It checks the condition and return the values in "TRUE" and "FALSE"
True and return True or False return False if all arguments are false.
el, and can you provide an example of a real-world scenario where it is beneficial?
on in Excel that allows you to perform different calculations or actions based on a specified condition. I
science English
53 76
37 40
65 72
49 27
self to create more complex logical tests?
Total
126336
91564
100568
6000
1200
5000
ENGLISH Result
70 PASS
9 FAIL
27 FAIL
84 FAIL
53 PASS
71 FAIL
44 FAIL
and can you provide an example of how it can be used to manipulate logical conditions?
IFERROR
Wrong Data
0
Wrong Data
0.682619647355164
0.117246080436264
Percentage Result
64% Pass
38% Fail
70% Pass
50% Pass
according to their ag
Result
PASS
FAIL
FAIL
FAIL
PASS
FAIL
FAIL
Using NOT Function
FALSE
FALSE
FALSE
FALSE
FALSE
TRUE
FALSE
g criteria: A for scores above 90, B for scores between 80 and 90, C for scores between 70 and 79, and
0, and "Small Sale" if it's $1,000 or less. Use the IF function to categorize the sales accordingly.
a Master's degree or more than five years of experience. How would you use the OR function to filter th
date has passed (Column A), or it's incomplete (Column B). How can you use the OR function to identif
n a specified condition. It helps you make decisions and automate tasks within your spreadsheet.
es accordingly.
our spreadsheet.
F function to accomplish this.