Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default SumProduct Between Dates

Having a tough time with this one.

Sheet 1
Column A = Start Date, Column B = End Date, Column C = Quantity.

Sheet 2
Row A = Start Date, Row B = End Date.
I would like Row C to sum quantity from sheet 1 where ever the two date
ranges intersect.
The date ranges on sheet 2 represent the beginning and ending of a week
(Mon-Sun).

Sheet 1
Column A Column B Column C
01JAN2010 24JAN2010 1,000

Sheet 2
Row A 04JAN2010 11JAN2010 18JAN2010 25JAN2010
Row B 10JAN2010 17JAN2010 24JAN2010 31JAN2010
Row c 1,000 1,000 1,000 0

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default SumProduct Between Dates

Hi,

=SUMPRODUCT((A$1=Sheet1!$A$1:$A$5)*
(A$2<=Sheet1!$B$1:$B$5)*Sheet1!$C$1:$C$5)

Should do it.


"StonyfieldRob" wrote in message
...
Having a tough time with this one.

Sheet 1
Column A = Start Date, Column B = End Date, Column C = Quantity.

Sheet 2
Row A = Start Date, Row B = End Date.
I would like Row C to sum quantity from sheet 1 where ever the two date
ranges intersect.
The date ranges on sheet 2 represent the beginning and ending of a week
(Mon-Sun).

Sheet 1
Column A Column B Column C
01JAN2010 24JAN2010 1,000

Sheet 2
Row A 04JAN2010 11JAN2010 18JAN2010 25JAN2010
Row B 10JAN2010 17JAN2010 24JAN2010 31JAN2010
Row c 1,000 1,000 1,000 0


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 within set dates Tom Excel Discussion (Misc queries) 4 October 29th 09 03:47 PM
SUMPRODUCT and dates Scott A[_2_] Excel Discussion (Misc queries) 3 August 26th 09 06:19 AM
sumproduct & dates [email protected] Excel Worksheet Functions 3 October 24th 07 03:03 AM
SUMPRODUCT and Dates Joe Gieder Excel Worksheet Functions 2 June 6th 07 05:21 PM
SUMPRODUCT ON DATES RagDyeR Excel Worksheet Functions 3 January 13th 05 04:21 PM


All times are GMT +1. The time now is 05:40 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"