SUMPRODUCT with Date Range Array

  • Thread starter Thread starter WildWill
  • Start date Start date
W

WildWill

I have the formula: =SUMPRODUCT(--(Input!$E$4:$E$30="JK"),--(Input!L4:L30>=01
March 2009 <=31 March 2009) but the last array in the formula (the one
searching for dates between 01 and 31 March 2009) does not work and returns
an error. I beleive that I have the syntax incorrect? Please help.
 
Try

=SUMPRODUCT((Input!E4:E30="JK")*(Input!L4:L30>=DATE(2009,3,1))*(Input!L4:L30<=DATE(2009,3,31)))

Mike
 
Back
Top