Forum Discussion
HERSRATER
May 31, 2022Copper Contributor
Excel how to hide #DIV/0!
I am using this formula =SUM(60*I6)/(E6*F6) for a spreadhseet. If my cells are empty I would like to hide the error #DIV/0!. I have tried the IFERROR function but it says I have entered too few arguments. Can someone help me?
- can also reference a cell (Z2):
=SUMIF(Z2:Z10,"<>"&Z2,M2:M10)
where Z2 is the controlling text.
be sure that the text is consistent in all controlling cells - otherwise it won't function properly.
"In Flight Relief" is not sames as "In Flight Relief" nor "Inflightrelief"..
If Z2 is deleted then the sum will be zero.... because the controlling cell is now blank.
HTH
3 Replies
Sort By
- flexyourdataIron ContributorTo return an empty string (blank cell) instead of the error value, the format for IFERROR should be:
=IFERROR(SUM(60*I6)/(E6*F6),"")
Does that work for you? If not, can you share what you are trying?- HERSRATERCopper Contributor
flexyourdata Thank you! That works. Just trying to get that cell hide the error. Thanks again