Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default SUMPRODUCT with Date Range Array

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
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.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default SUMPRODUCT with Date Range Array

Thanks Mike!

"Mike H" wrote:

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.

  #4   Report Post  
Junior Member
 
Posts: 6
Default

I used a similar SUMPRODUCT formula that uses logic tests and dates. Now my spreadsheet is very slow. I turned off the Auto Calculate option and things sped up. Please take a look at my formula and let me know if there is any what to speed it up.

=SUMPRODUCT(('Task List'!$N:$N = J35)*('Task List'!$N:$N< K35)*('Task List'!$P:$P=1)*('Task List'!$O:$O="Closed On Time"))+SUMPRODUCT(('Task List'!$N:$N = J35)*('Task List'!$N:$N< K35)*('Task List'!$P:$P=1)*('Task List'!$O:$O="Closed Early"))


Thanks in advance



Quote:
Originally Posted by WildWill View Post
Thanks Mike!

"Mike H" wrote:

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.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct on date range Southpaw Excel Discussion (Misc queries) 3 June 12th 08 11:05 PM
sumproduct between date range Looping through Excel Worksheet Functions 14 December 20th 07 11:38 PM
Can a date range be used in SUMPRODUCT bruce Excel Worksheet Functions 2 December 17th 07 12:56 PM
SUMPRODUCT between date range Celia New Users to Excel 1 November 9th 06 06:39 PM
Changing a range of an array in a SUMPRODUCT formula gives a #N/A error Chrism Excel Discussion (Misc queries) 4 May 4th 05 04:06 PM


All times are GMT +1. The time now is 09:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"