Lesson 7: IF: if... then...
- C2:
=IF(B2>=55,"Pass","Fail") - Drag C2 down to C7
| A | B | C | |
|---|---|---|---|
| 1 | Student | Score | Result |
| 2 | Noah | 85 | |
| 3 | Ethan | 48 | |
| 4 | Maya | 72 | |
| 5 | Jonah | 54 | |
| 6 | Sarah | 95 | |
| 7 | Oliver | 55 | |
| 8 | |||
| 9 | How many passed |
- C2 to C7 use IF
All lessons
✍️ 1. Typing in cells
Cells, typing, fixing and deleting🎨 2. Format a table
Select a range, bold and dollar format🧮 3. Your first formula
Multiply, add and subtract between cells➕ 4. SUM and AVERAGE
The total and the average of a column⬇️ 5. Drag and fill
The fill handle, and $ to lock a cell🔢 6. MAX, MIN and COUNT
The most, the least, and how many filled in🔀 7. IF: if... then...
Pass or fail, and COUNTIF↕️ 8. Sort a table
High to low, and alphabetical📊 9. Your first chart
A bar chart and a pie chart🏠 10. Project: a family budget
Everything we learned in one sheet
Cells, typing, fixing and deleting🎨 2. Format a table
Select a range, bold and dollar format🧮 3. Your first formula
Multiply, add and subtract between cells➕ 4. SUM and AVERAGE
The total and the average of a column⬇️ 5. Drag and fill
The fill handle, and $ to lock a cell🔢 6. MAX, MIN and COUNT
The most, the least, and how many filled in🔀 7. IF: if... then...
Pass or fail, and COUNTIF↕️ 8. Sort a table
High to low, and alphabetical📊 9. Your first chart
A bar chart and a pie chart🏠 10. Project: a family budget
Everything we learned in one sheet
The IF function in Excel with a passing grade example, and COUNTIF for counting by a condition. IF(condition, value if true, value if false). Text always goes inside quotation marks. Even =COUNTIF(B2:B7,">=55") gives 4, straight from the scores.
Explore more: Excel course: all lessons, and Sort a table.