View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default if formula return true value

=max(a1,b1-c1)
or maybe
=max(a1,abs(b1-c1))

b1 and c1 are the two cells to compare.
A1 is the cell not to exceed.

Theresa wrote:

How can I get an if formula to return the difference of two cells but not
more than the value of another cell?


--

Dave Peterson