Upcoming SlideShare
×
Like this presentation? Why not share!

Like this? Share it with your network

Share

# If statements

• 251 views

Learn how to create IF statements and NESTED IF statements for Excel etc.

Learn how to create IF statements and NESTED IF statements for Excel etc.

• Comment goes here.
Are you sure you want to
Be the first to comment
Be the first to like this

Total Views
251
On Slideshare
250
From Embeds
1
Number of Embeds
1

Shares
8
0
Likes
0

### Report content

No notes for slide

### Transcript

• 1. Click to continue
• 2. It answers the question, “Is this true or false?”, then proceeds to do something as a result.
• 3. Is the value in column A larger than the value in column B?   A 1 2 3 4 5 6 7 23 13 12 44 100 3 40 B 36 20 2 325 10 50 100
• 4. Formula: =IF(A2>B2,"yes","no") If false, the cell displays No If true, the cell displays Yes Logical test using operators (=, <, <=, >, >=)
• 5. First No Second No Is Column A bigger? 13 20 no 12 2 yes 44 325 no 100 10 yes 3 50 no 40 100 no
• 6. =IF(n4="m", "y", "n") Text must be put in apostrophes e.g. “y”
• 7. =IF(R6=0,C6,"Paid")  The contents of C6 will be displayed if R6=0  C6 could contain another formula!
• 8. =IF(E33=1, “Good", “Below Average”)) This structure is repeated before the False value. =IF(E33=1, “Good", IF(E33=2, “Average", “Below Average”)) An extra bracket is added at the end
• 9. = IF(G4>=80, "A", IF(G4>=65, "B", IF(G4>=50, "C", IF(G4 >=45, "D", "Fail"))))
• 10.  Using AND + OR: =IF((AND(P24=0)),"Breakeven",(IF((OR(P24>0)),"Profit", "loss")))  Using Named cells =IF(Product=“Pencil", “Student is organised!”, “Student needs pencil!”)  Using Absolute cell references =IF(\$R\$6=“Prussian Blue”, “My favourite colour”, “Not so good!")
• 11. The end www.dragon-class.com