Logical Functions
Intermediate

IFERROR around a conversion

Turn imported text into numbers, and anything unreadable into a known default.

Task:

The survey tool exported the scores as text, and some respondents typed words instead of numbers. In C2:C7 convert each answer to a number, using 0 for anything that is not one.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

7 rows × 3 columns6 cells you fill in
ABC
1RespondentScore (text)Score
2R18
3R2ten
4R36.5
5R4n/a
6R59
7R67
What this exercise teachesMay contain the answer

IFERROR is not only for division. Wrapping a conversion lets the clean rows convert and the bad rows land on a value you chose, instead of one #VALUE! stopping every calculation that touches the column.