View Single Post
  #2   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 question

"it doesn't work" is not the most helpful of problem descriptions.

What input values do you have in those cells?
What result are you getting?
What result did you expect?
--
David Biddulph

"Theresa" wrote in message
...
I am trying to use the following formula and it doesn't work for all my
tests. If the answer is false I want the value to return but not greater
than G7. Here is the formula
=-if(A17(G4+G5+G7),0,min(A17-G7-(G4+G5),G7)).