Module 5 · Logical
No #DIV/0! on the board

Fans rate the bands on the info board. Some bands have no votes yet, and the board shows #DIV/0!. Some bands have no next show, and the board shows #N/A. The fans think the board is broken.
Steps
Catch errors with IFERROR
IFERROR checks a formula. If the formula gives an error, IFERROR gives back a different value.
How to do it
- Select the cell with the error.
- Type =IFERROR(
- Type the formula and a comma.
- Type the value for an error and a closing bracket.
- Press Enter.
=IFERROR(C5/D5,"No votes yet")Task: Fix the other ratings. Fill in E6:E12.
Catch #N/A with IFNA
IFNA catches only the error #N/A. A lookup gives #N/A if it does not find the value.
How to do it
- Click cell F5.
- Type =IFNA(XLOOKUP(
- Type the lookup, close it with a bracket and type a comma.
- Type "Not planned" and a closing bracket.
- Press Enter.
- IFNA catches only #N/A. Other errors, for example #DIV/0!, still show. So you still see real mistakes.
=IFNA(XLOOKUP(B5,H:H,I:I),"Not planned")Task: Find the next show of the other bands. Fill in F6:F12.