You are on page 1of 16

1. Do u have any idea?

2. What we are going to


learn today?
Is it so hard to learn…!

Somebody say IF Function…

Oh nooo…
Hard to
Understand
But I do…. So Easy… Easier than Ever,
What is it actually?

You are visiting the


shop, and you want
to buy something to
eat..
Mother Told You to Buy Banana and
she said if not, But Apple
Unfortunately …
Shop don’t have
Banana
Then You decide to buy Apple
Did you know? You used IF Function for
this….

You Decided to
Buy Banana
Banana Is not
Available
You Buy Apple
IF Function

 The IF function is one of the most


popular functions in Excel, and it allows you
to make logical comparisons between a value
and what you expect. In its simplest form,
the IF function says:
 IF(Something is True, then do something,
otherwise do something else)
IF Has a Syntax
IF (Condition/ Logical Test)
{
(Statement1/ Value True)
}
Else
{
(Statement2/ Value False)
}
End IF
IF Has a Syntax
IF (Mother Told You to Buy Banana)
{
(Buy Banana)
}
Else
{
(Buy Apple)
}
End IF
Lets see some examples… 

When Students’ Mark is


Greater than 75, He passed
the exam. 
But, when students’ Mark is
Less than 75 He failed the
exam. 
This is the Condition / Logical Test

If Marks
Greater than 75
Statement 1 (Value True)

Passed
If Condition True
Statement 2 Value False

Failed
If Condition False

You might also like