FxFormula Drills

Free exercise · Excel formula basics

Pass or fail with IF

Practice Excel IF by marking each score Pass or Fail at a 70 cutoff, with instant formula checking.

A score of 70 or higher passes. Anything lower fails.

In column B, write an IF formula that returns the text Pass or Fail. Fill it down. Match the capitalization.

Dataset

Starter sheet. Cells marked formula are where the formula goes.

Starter sheet for this exercise
RowAB
1ScoreResult
272Formula goes in B2. formula
364Formula goes in B3. formula
470Formula goes in B4. formula
591Formula goes in B5. formula
669Formula goes in B6. formula

Hint

IF has three parts: a test, what to return when the test is true, and what to return when it is false.

Explanation

This exercise practices IF in Excel. The formula goes in B2, B3, B4, B5, B6.

IF returns Pass when the score is 70 or higher, and Fail otherwise. A score of exactly 70 passes. Match the capital letters.

One formula that works: B2: =IF(A2>=70,"Pass","Fail"). B3: =IF(A3>=70,"Pass","Fail"). B4: =IF(A4>=70,"Pass","Fail"). B5: =IF(A5>=70,"Pass","Fail"). B6: =IF(A6>=70,"Pass","Fail"). Other formulas that return the same result are accepted.

Solve this exercise

Drill 6 of 10

Practice this formula

Drag to select a range. The fill handle copies formulas the way Excel does, and the Shortcuts button lists the keyboard.

B2
A
B
C
D
E
F
1
2
3
4
5
6
7
8
9
10
11
12

Highlighted cells are yours. Drag to select, then drag the green square to fill. Shortcuts lists the keyboard.

Loading the formula engine…