This is the formula I'm using =sum(E12*100)/F12. If E12 is left
blank with no entry I get #DIV/0!. How can I get rid of that result
without having to put a zero in E12?
Gord Dibben - 14 May 2008 04:18 GMT
Trap for F12 being blank or a zero.
=IF(OR(F12="",F12=0),"",(E12*100)/F12)
Gord Dibben MS Excel MVP
>This is the formula I'm using =sum(E12*100)/F12. If E12 is left
>blank with no entry I get #DIV/0!. How can I get rid of that result
>without having to put a zero in E12?
NateBuckley - 14 May 2008 07:06 GMT
Try this formula
=IF(ISERROR((E12*100)/F12),"",(E12*100)/F12)
What you're saying is
IF The Value E12*100 / F12 IS an ERROR then display "" (blank) else
work out the sum and display it.
Hope this works.
> This is the formula I'm using =sum(E12*100)/F12. If E12 is left
> blank with no entry I get #DIV/0!. How can I get rid of that result
> without having to put a zero in E12?