IF FUNCTION Flashcards
This functions performs a comparison between two values.
Evaluates if the supplied comdition satisfies and then returns an output value.
IF FUNCTION
Syntax of IF Function
=IF(logical_test, value_if_true, value_if_false)
What is the first thing you MUST do when typing an Excel formula?
Always add an = sign
The first and mandatory argument of the IF function because it helps us specify the condition to be tested or evaluate as either TRUE or FALSE.
logical_test
We need to return as output when “TRUE”.
value_if_true
We need to return as output when “FALSE”.
value_if_false
Which is the correct formula that represents the IF function with no mistakes.
A. =IF(A1=B2, TRUE FALSE)
B. =IF(A1=B2,”TRUE”,”FALSE”)
C. =IF(A1=B2,TRUE,FALSE)
D. NONE OF THE ABOVE
B.
Logical Operators used in IF function
= Equal
< Less than
<= Less than or equal to
> Greater than
>= Greater than or equal to
<> Not equal to