Forum Discussion
seb334
Sep 01, 2023Copper Contributor
#DIV/0! error
can some one advise how I can get this error corrected? Please see formula below =(H13*D70/D78)/D70
HansVogelaar
Sep 01, 2023MVP
Why do you multiply with D70 then divide by it? You can shorten the formula to
=H13/D78
This will return #DIV/0! if D78 = 0. So you could use
=IF(D78=0, "", H13/D78)
or
=IFERROR(H13/D78, "")
seb334
Sep 01, 2023Copper Contributor
Hey this is how the formula is set up. i was doing some research and i found out below info but the thing is i do not know how to incorporate this into my formula. Can you assist?
For example, if the formula that returns the error is =A2/A3, use =IF(A3,A2/A3,0) to return 0 or =IF(A3,A2/A3,””) to return an empty string.
For example, if the formula that returns the error is =A2/A3, use =IF(A3,A2/A3,0) to return 0 or =IF(A3,A2/A3,””) to return an empty string.
- HansVogelaarSep 01, 2023MVP
I gave you two ways to avoid #DIV/0! in my previous reply.