View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default format a cell to read zero for any negative value


Hi, how about:

=IF(SUM(A1:A10)<0,0,SUM(A1:A10))

HTH
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=494490