View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default display 0 instead of #DIV/0!

Try this:

=IF(M5=0,0,(B5+C5+E5+F5)*(200000/M5))

--
Biff
Microsoft Excel MVP


"Chris in BKK" <Chris in wrote in message
...
I've a data gathering and calculation summary sheet in a workbook, the
other
sheets provide raw imput data.

The formula =SUM((B5+C5+E5+F5)*(200000/M5)) in N5 displays error #DIV/0!
because M5 has a 0 valve (no problem if M5 is 1 or ). I believe IF will
correct and display 0, but forget string. I left reference docs in home
country.