How do I avoid the “#DIV/0!” error in Google docs spreadsheet? January 4, 2023 by Tarik Wrap your formula with IFERROR. =IFERROR(yourformula)