View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default if formula return true value

I think you may have intended MIN rather than MAX, Dave?

It always seems strange that to limit a formula to a maximum value one uses
the MIN function, so my mental agility sometimes struggles with the problem.
:-)
--
David Biddulph

"Dave Peterson" wrote in message
...
=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