Forum Discussion

cindy_64's avatar
cindy_64
Copper Contributor
Feb 27, 2022
Solved

Trying to find the average of two cells and, when the answer is zero not get #DIV/0

I am trying to calculate an average, D4/A4, and when the answer is 0.00 to get that to display instead of #DIV/0 in the cell. Thanks in advance. Sample: 1  $           5.00  $          2.00  ...
  • Jihad Al-Jarady's avatar
    Feb 27, 2022
    You would use this formula, in case there is an error put 0
    =IFERROR(D1/A1,0)

Resources