Upcoming SlideShare
×

# Using the IF Function in Excel

1,098 views

Published on

Published in: Education
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

• Be the first to like this

Views
Total views
1,098
On SlideShare
0
From Embeds
0
Number of Embeds
170
Actions
Shares
0
40
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)