View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default conditional formula

Try this:-

=MAX((A1+B1),0)

Mike

"Craigallen" wrote:

can someone please show me an example of a formula that would allow a value
to be placed in a cell from a formula I have written, only if the answer is
positive, otherwise it would put a zero as the answer? For example, if I had
a formula that added two cells together, if the result was a positive number,
I want that number in the cell, but if the answer is a negative number,
instead of that negative number, I want a zero in the cell.
--
craig