View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Trevor Shuttleworth
 
Posts: n/a
Default How do you write an if statement that replaces #DIV/0! with 0

=IF(ISERROR(cell_ref),0,cell_ref)

Regards

Trevor


"caliskier" wrote
in message ...

Hello,

My title asks my question, but we have a link that pulls in an answer
from another sheet that is #div/0! on the other sheet, but I can't
change the data on the sheet that has the #div/0! error. So I am
trying to write an if statment that gives 0 as a result instead of the
#div/0! error. Any ideas?


--
caliskier
------------------------------------------------------------------------
caliskier's Profile:
http://www.excelforum.com/member.php...o&userid=25887
View this thread: http://www.excelforum.com/showthread...hreadid=520832