Excel Sum Greater than but Less Than

Solved/Closed
Ian - Dec 14, 2009 at 08:04 AM
 Alli - Nov 29, 2010 at 02:18 PM
Hello,

I am trying to get a cell to show the answer if -
The date in B5 minus the date in B10 is less than 60 but more than 30 then F10 should show the value in C10, the answer in all other cases should be zero.

So far I have managed to get the sum to show this if the value is less than 30. -
=IF($B$5-$B$10<=30, C10, 0)

Anyone able to help?

2 responses

Mabey you have an answer already but for others this will help with other things. Use an AND statement

=IF((AND($B$5-$B$10<60,$B$5-$B$10>30)),C10,0)
10