View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom Peo Sjoblom is offline
external usenet poster
 
Posts: 3,268
Default display 0 instead of #DIV/0!

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


--

Regards,

Peo Sjoblom


"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.