#DIV/0! error: what it means and how to fix it
The formula divided by zero, or by a cell that is empty (an empty cell counts as zero).
The usual causes
- The divisor cell is empty because the data has not been entered yet.
- A count or total you divide by is zero, like an average of no sales.
- The formula points one row or column off, at an empty cell.
How to fix it
- Check that the divisor points at the right cell.
- Show a blank until there is data: =IF(C2=0,"",B2/C2).
- AVERAGE returns #DIV/0! for a range with no numbers; AVERAGEIF too when nothing matches.
Fix a broken formula live
C2, the number of deals, is still empty. Cell D2 shows #DIV/0!. Change the formula in the bar until the error goes away, or press “Show the fix”.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | ||||||
| 3 | ||||||
| 4 | ||||||
| 5 | ||||||
| 6 | ||||||
| 7 | ||||||
| 8 |
#DIV/0! The formula divided by zero, or by a cell that is empty (an empty cell counts as zero).
Runs in your browser; nothing you type is sent anywhere. Works like Excel, Google Sheets and LibreOffice Calc for the common functions.
Learn the skill behind it
Write your first formulas, free →