View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default Getting rid of #DIV/0!

Trap for F12 being blank or a zero.

=IF(OR(F12="",F12=0),"",(E12*100)/F12)


Gord Dibben MS Excel MVP

On Tue, 13 May 2008 19:37:17 -0700 (PDT), wrote:

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?