hi all,
my formula won't do what I want it to. I want it to sum values in a column based on two conditions:
1.the dates are within range
2. the $B$41 number is equal to the number in the D column
Here is my formula:
=SUM(IF(AND(YEAR($G$29:$G$300)=YEAR(Sheet1!$F$7),MONTH($G$29:$G$300)=MONTH('Sheet1'!$F$7),DAY('Sheet1'!$F$7)>=DAY($G$29:$G$300)>DAY(0)), IF('Sheet1'!$B$41=$D$29:$D$300, $AJ$29:$AJ$300, 0),"0"))
It keeps returning me a value of zero, when i should be getting a number
Any ideas ?
Thanks
my formula won't do what I want it to. I want it to sum values in a column based on two conditions:
1.the dates are within range
2. the $B$41 number is equal to the number in the D column
Here is my formula:
=SUM(IF(AND(YEAR($G$29:$G$300)=YEAR(Sheet1!$F$7),MONTH($G$29:$G$300)=MONTH('Sheet1'!$F$7),DAY('Sheet1'!$F$7)>=DAY($G$29:$G$300)>DAY(0)), IF('Sheet1'!$B$41=$D$29:$D$300, $AJ$29:$AJ$300, 0),"0"))
It keeps returning me a value of zero, when i should be getting a number
Any ideas ?
Thanks