#1   Report Post  
Posted to microsoft.public.excel.misc
Tom
 
Posts: n/a
Default Sum between two date

I have a column "G" that contains several dates and another column "K" that
contain weights. Additionally, I have two cells (Start Date (B2) and End
Date "C2") that I would like to type in different dates which lookup in "G"
and sum the weights in "K".

G K
12/12/2005 200
12/16/2005 100
2/11/2005 300
11/15/2005 150

TFTH,
Tom
  #2   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default Sum between two date


Try.

=SUMPRODUCT(--(G1:G5B2),--(G1:G5<C2),(K1:K5))

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=499884

  #3   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Sum between two date

Try:
=SUMPRODUCT((G2:G10=B2)*(G2:G10<=C2),K2:K10)

HTH
JG

"Tom" wrote:

I have a column "G" that contains several dates and another column "K" that
contain weights. Additionally, I have two cells (Start Date (B2) and End
Date "C2") that I would like to type in different dates which lookup in "G"
and sum the weights in "K".

G K
12/12/2005 200
12/16/2005 100
2/11/2005 300
11/15/2005 150

TFTH,
Tom

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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
How do I calculate if a date is in a certain time frame? Pe66les Excel Worksheet Functions 19 August 27th 05 11:07 PM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM


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