Using the

Function in Excel
What is an IF statement
A calculation that uses IF-THEN-ELSE logic.
Example:

"If all philosophers are thinkers and John i...
Parts of the IF functions
Equal Sign

Cell
Reference

=IF(B2=“Answer","Correct","Wrong")
Function Name

Truth Value

Opera...
Example of If statement in Excel
Function
A
The planets revolve around this.

B
Sun

C
=IF(B1="sun","Correct","Wrong")

Ou...
Write the correct IF Statement
A
What is the President’s last name

B

C

A
What is the President’s last name

B

C

A
Wha...
Write the correct IF Statement
Write an if statement that outputs “True” if B1 is Greater than A1

A
23

B
B

C

35
A

23
...
Upcoming SlideShare
Loading in...5
×

Using the IF Function in Excel

482

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
482
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Using the IF Function in Excel

  1. 1. Using the Function in Excel
  2. 2. What is an IF statement A calculation that uses IF-THEN-ELSE logic. Example: "If all philosophers are thinkers and John is a philosopher, then John is a thinker."
  3. 3. Parts of the IF functions Equal Sign Cell Reference =IF(B2=“Answer","Correct","Wrong") Function Name Truth Value Operator: Can be = , < , >, >=, <=, value if True value if False Notice, Values are separated by commas.
  4. 4. Example of If statement in Excel Function A The planets revolve around this. B Sun C =IF(B1="sun","Correct","Wrong") Output A The planets revolve around this. B Sun C Correct
  5. 5. Write the correct IF Statement A What is the President’s last name B C A What is the President’s last name B C A What is the President’s last name B A What is the President’s last name B A What is the President’s last name B C =if(b1=“Obama”, “Correct”, A What is the President’s last name B C =if(b1=“Obama”, “Correct”, “Incorrect”) =if C =if(b1= C =if(b1=“Obama”,
  6. 6. Write the correct IF Statement Write an if statement that outputs “True” if B1 is Greater than A1 A 23 B B C 35 A 23 35 A 23 =if B 35 A 23 =if(b1> 35 23 C B A C =if(b1>a1, B 35 A 23 C =if(b1>a1,True, B 35 C C =if(b1>a1,True,False)
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×