View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
John C[_2_] John C[_2_] is offline
external usenet poster
 
Posts: 1,358
Default if formula needed

=IF(A1(B1+B2),MIN(A1-(B1+B2),C3),C3)

Hope this helps.
--
John C


"Theresa" wrote:

Hello, If A1 is greater than the sum of B1+B2, return the difference of A1
minus the sum of B1+B2 but not greater than the value of C3. If false return
value of c3.