View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default How to change #DIV/0! to as 0

Broadly speaking, you could write your formula similar to

=IF(ISERROR(original_formula),0,original_formula)

The disadvantage to this method is that original_formula will be calculated
twice, which may be a noticeable performance hit. In Excel 2007, you can use
the IFERROR function: =IFERROR(your_formula,0)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"AG" wrote in message
...
Hi,

How to get '0' in place of #DIV/0! and #N/A

Thanks