View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default SUMPRODUCT with Date Range Array

Try

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

Mike

"WildWill" wrote:

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.