Hi, I want to sum the positive values in column B, which satisfies the condition: date between 29/02/2012 and 31/05/2012. I used the OR function as below, but this always resulted in an error. I am wondering the problem may be due to the use of OR operator in the SUM() function.
={SUM(IF(OR((A1:A6<C2),(A1:A6>C1)),"",IF(B1:B6>0,B1:B6,0))}
A B C
30/06/2012 8 31/05/2012
31/05/2012 4 29/02/2012
30/04/2012 3
31/03/2012 -2
29/02/2012 0
31/01/2012 5
Bookmarks