๐ Excel for Beginners ยท Lesson 7 of 10
IF: if... then...
The IF function in Excel with a passing grade example, and COUNTIF for counting by a condition.
The tasks in this lesson
1. Pass or fail
- C2:
=IF(B2>=55,"Pass","Fail") - Drag C2 down to C7
๐ก IF(condition, value if true, value if false). Text always goes inside quotation marks.
2. How many passed?
- B9:
=COUNTIF(C2:C7,"Pass")
๐ก Even =COUNTIF(B2:B7,">=55") gives 4, straight from the scores.
All lessons
- โ๏ธ 1. Typing in cellsCells, typing, fixing and deleting
- ๐จ 2. Format a tableSelect a range, bold and dollar format
- ๐งฎ 3. Your first formulaMultiply, add and subtract between cells
- โ 4. SUM and AVERAGEThe total and the average of a column
- โฌ๏ธ 5. Drag and fillThe fill handle, and $ to lock a cell
- ๐ข 6. MAX, MIN and COUNTThe most, the least, and how many filled in
- ๐ 7. IF: if... then...Pass or fail, and COUNTIF
- โ๏ธ 8. Sort a tableHigh to low, and alphabetical
- ๐ 9. Your first chartA bar chart and a pie chart
- ๐ 10. Project: a family budgetEverything we learned in one sheet