What is wrong with this formula?
Attachments
-
11.5 KB Views: 8
=SUMPRODUCT(--($D$15:$D$20000=$D$2),--(TEXT($B$15:$B$20000,"m")=VALUETOTEXT(E2)),--(TEXT($B$15:$B$20000,"yyyy")=VALUETOTEXT($C$2)),$C$15:$C$20000)
=SUMPRODUCT(--($D$15:$D$20000=$D$2),--(TEXT($B$15:$B$20000,"m")=E2&""),--(TEXT($B$15:$B$20000,"yyyy")="" & $C$2),$C$15:$C$20000)
=SUMPRODUCT(($D$15:$D$20000=$D$2)*(TEXT($B$15:$B$20000,"m")=E2&"")*(TEXT($B$15:$B$20000,"yyyy")=$C$2&""),$C$15:$C$20000)
Except for an added character or two in the formulae in column H, it's fine here:I couldn't solve any of the formulas.
@herofox , you're getting slightly different results for May and Jan because of something funny going on with the dates in cells B15 (and B16, but it doesn't affect the result because there's no D in D16).show Please every Thing is Ok