View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Clark Clark is offline
external usenet poster
 
Posts: 49
Default Nested IF with = and <= choices

Thanks John and Pete, I should have seen that myself.

"Pete_UK" wrote:

As the first IF checks for <25, the formula will only evaluate the
second IF if the condition is not satisfied, i.e. B14+B15 must be
greater than or equal to 25, so you don't need to test for that
explicitly. Hence, your formula becomes:

=IF(B14+B15<25,1,IF(B14+B15<40,2,IF(B14+B15<75,3,5 ))Â*)

Hope this helps.

Pete

On Aug 1, 5:19 pm, Clark wrote:
Here is the formula I am trying to make work:
=IF(B14+B15<25,1,IF(B14+B15=25<40,2,IF(B14+B15=4 0<75,3,IF(B14+B15=75,5))Â*))

B14 and B15 values change, and I want to return a number if the value of
B14+B15 falls within those given parameters. As shown, it gives me a FALSE
value if the sum of B14+B15 is over 25.