Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Excel IF and IF nested Functions/Formulas

Total questions: 27

Worksheet time: 14mins

Name
Class
Date
1.
In Excel, what does the IF function allow you to do?
a)
Perform calculations
b)
Make conditional decisions
c)
Create charts
d)
Sort data
2.
What is the basic syntax of the IF function in Excel?
a)
IF(logical_test,value_if_true,value_if_false)
b)
IF(logical_condition,value_if_true,value_if_false)
c)
IF(condition,then_value,else_value)
d)
IF(test,do_this,otherwise_do_that)
3.
If you want to check if a cell A1 is greater than 10 in Excel, which formula would you use?
a)
=IF(A1>10,"Yes","No")
b)
=IF(A1<10,"Yes","No")
c)
=IF(A1=10,"Yes","No")
d)
=IF(A1>=10,"Yes","No")
4.
What does the value_if_false argument in the IF function represent?
a)
The action if the condition is true
b)
The action if the condition is false
c)
The logical test
d)
The cell reference to check
5.
In Excel, if you want to nest multiple IF functions, what is the maximum number of IF functions you can nest?
a)
5
b)
10
c)
15
d)
20
6.
How can you express "If A1 is equal to B1 and B1 is equal to C1, then 'Yes'" using the IF function in Excel?
a)
=IF(A1=B1=C1,"Yes","No")
b)
=IF(A1=B1 AND B1=C1,"Yes","No")
c)
=IF(A1=B1, B1=C1, "Yes","No")
d)
=IF(A1=B1,"Yes",IF(B1=C1,"Yes","No"))
7.
What is the purpose of the "value_if_true" argument in the IF function?
a)
It specifies what to do if the condition is true
b)
It specifies what to do if the condition is false
c)
It specifies the logical test
d)
It specifies the cell to check
8.
If you want to check if a cell A1 is both greater than 10 and less than 20 in Excel, which formula would you use?
a)
=IF(AND(A1>10,A1<20),"Yes","No")
b)
=IF(OR(A1>10,A1<20),"Yes","No")
c)
=IF(A1>10,"Yes",IF(A1<20,"Yes","No"))
d)
=IF(A1>10+A1<20,"Yes","No")
9.
n Excel, what does the following formula do? =IF(A1>10, "Pass", "Fail")
a)
Checks if cell A1 contains the text "Pass"
b)
Adds the values in cell A1 and A10
c)
Checks if the value in cell A1 is greater than 10
d)
Displays the current date
e)
None of the above
10.
You want to create a formula in Excel to display "Yes" if the value in cell B2 is greater than 50, and "No" otherwise. What would the formula be?
a)
=IF(B2 > 50, "Yes", "No")
b)
=IF(B2 = 50, "Yes", "No")
c)
=IF(B2 < 50, "Yes", "No")
d)
=IF(B2 >= 50, "Yes", "No")
e)
=IF(B2 <= 50, "Yes", "No")
11.
If you have a column of test scores in Excel and you want to assign "Pass" to scores greater than or equal to 70 and "Fail" to scores below 70, what type of formula would you use?
a)
VLOOKUP
b)
HLOOKUP
c)
SUM
d)
IF
e)
AND
12.
What is the result of the following Excel formula: =IF(C3="Apples", "Fruit", "Vegetable")
a)
It displays an error message
b)
It displays "Fruit"
c)
It displays "Vegetable"
d)
It displays "Apples"
e)
It displays nothing
13.
You have a list of students' ages in Excel, and you want to categorize them as "Child" (age <= 12) or "Teen" (age > 12). What formula would you use?
a)
=IF(A2 <= 12, "Child", "Teen")
b)
=IF(A2 > 12, "Child", "Teen")
c)
=IF(A2 = 12, "Child", "Teen")
d)
=IF(A2 < 18, "Child", "Teen")
e)
=IF(A2 > 18, "Child", "Teen")
14.
You have a list of student grades in Excel, and you want to assign "A" to grades greater than or equal to 90, "B" to grades between 80 and 89, "C" to grades between 70 and 79, and "F" to grades below 70. What type of formula would you use?
a)
VLOOKUP
b)
HLOOKUP
c)
SUM
d)
IF
e)
AND
15.
What is a Nested IF statement in Excel?
a)
An IF statement that only has one condition
b)
An IF statement that is located within another IF statement
c)
An IF statement that uses text values only
d)
An IF statement that cannot have more than one condition
16.
In Excel, how do you write a Nested IF statement?
a)
=IF(condition1, value_if_true1, IF(condition2, value_if_true2, value_if_false))
b)
=IF(condition1, value_if_true1, ELSE IF(condition2, value_if_true2, value_if_false))
c)
=IF(condition1, value_if_true1, IF(condition2, value_if_true2))
d)
=IF(condition1, value_if_true1, AND(condition2, value_if_true2, value_if_false))
17.
When might you use a Nested IF statement in Excel?
a)
To create a simple list of values
b)
To perform a single calculation
c)
To make multiple decisions based on different conditions
d)
To format cells in a worksheet
18.
Which of the following is a valid example of a Nested IF statement in Excel?
a)
=IF(A1>10, "High", IF(A1>5, "Medium", IF(A1>0, "Low")))
b)
=IF(A1>10, "High", IF(B1>5, "Medium", IF(C1>0, "Low")))
c)
=IF(A1>10, "High", IF(A2>5, "Medium", IF(A3>0, "Low")))
d)
=IF(A1>10, "High", IF(A1>5, "Medium", IF(A1>0, "Medium")))
19.
What is the result of the following Nested IF statement in Excel: =IF(A1>10, "High", IF(A1>5, "Medium", IF(A1>0, "Low")))
a)
"High"
b)
"Medium"
c)
"Low"
d)
Error
20.
In Excel, how many levels of Nested IF statements can you use?
a)
1
b)
2
c)
3
d)
There is no limit
21.
In Excel, what does the value_if_false argument in a Nested IF statement specify?
a)
The action to take if the first condition is false
b)
The action to take if the second condition is false
c)
The action to take if all conditions are false
d)
The action to take if the conditions are true
22.
Which of the following formulas is NOT an example of a Nested IF statement in Excel?
a)
=IF(A1>10, "Yes", "No")
b)
=IF(AND(A1>5, B1<20), "True", "False")
c)
=IF(OR(A1="Apple", A1="Banana"), "Fruit", "Not a fruit")
d)
=IF(SUM(A1:A10)>100, "Total exceeds 100", "Total below 100")
23.
What is the primary advantage of using Nested IF statements in Excel?
a)
They are simpler and easier to understand than other functions
b)
They can handle complex logical tests and multiple conditions
c)
They are faster in calculating results
d)
They can only be used for numerical values
24.

How can you express "If A1 is equal to B1 and B1 is equal to C1, then 'Yes'" using the IF function in Excel?

a)

=IF(A1=B1, 'Yes', '')

b)

=IF(A1=B1, 'No', '')

c)

=IF(AND(A1=B1, B1=C1), 'Yes', '')

d)

=IF(A1=B1, 'True', '')

25.

What does the value_if_false argument in the IF function represent?

a)

The value that will be returned if the logical test evaluates to FALSE.

b)

The value that will be returned if the logical test evaluates to NULL.

c)

The value that will be returned if the logical test evaluates to TRUE.

d)

The value that will be returned if the logical test evaluates to ERROR.

26.

What is a Nested IF statement in Excel?

a)

A nested IF statement in Excel is a feature that allows you to create charts within a single formula.

b)

A nested IF statement in Excel is a function that allows you to sort data within a single formula.

c)

A nested IF statement in Excel is a formula that allows you to perform mathematical calculations within a single formula.

d)

A nested IF statement in Excel is a formula that allows you to perform multiple logical tests within a single formula.

27.

What is the basic syntax of the IF function in Excel?

a)

=IF(logical_test, value_if_true, value_if_false)

b)

=IF(logical_test; value_if_true; value_if_false)

c)

=IF(logical_test, value_if_true, value_if_false, value_if_another_false)

d)

=IF(logical_test, value_if_true)