Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Sum Column by Date Range

I have 2 columns, one with date the other with $amounts. I want to sum the
$amounts, but only by a date range,(ie 2/10/07-9/07/07).

Date Amount
1/1/2006 125
2/10/2007 50
9/07/2007 25

I need help with a fomula for this.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sum Column by Date Range

One way:

=SUMIF(A1:A3,"="&DATE(2007,2,10),B1:B3)-SUMIF(A1:A3,""&DATE(2007,9,7))

Better to use cells to hold the date range:

D1 = 2/10/2007
E1 = 9/7/2007

=SUMIF(A1:A3,"="&D1,B1:B3)-SUMIF(A1:A3,""&E1,B1:B3)

--
Biff
Microsoft Excel MVP


"Lexi" wrote in message
...
I have 2 columns, one with date the other with $amounts. I want to sum the
$amounts, but only by a date range,(ie 2/10/07-9/07/07).

Date Amount
1/1/2006 125
2/10/2007 50
9/07/2007 25

I need help with a fomula for this.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Sum Column by Date Range

THANKS, WORKED GREAT!!!

"T. Valko" wrote:

One way:

=SUMIF(A1:A3,"="&DATE(2007,2,10),B1:B3)-SUMIF(A1:A3,""&DATE(2007,9,7))

Better to use cells to hold the date range:

D1 = 2/10/2007
E1 = 9/7/2007

=SUMIF(A1:A3,"="&D1,B1:B3)-SUMIF(A1:A3,""&E1,B1:B3)

--
Biff
Microsoft Excel MVP


"Lexi" wrote in message
...
I have 2 columns, one with date the other with $amounts. I want to sum the
$amounts, but only by a date range,(ie 2/10/07-9/07/07).

Date Amount
1/1/2006 125
2/10/2007 50
9/07/2007 25

I need help with a fomula for this.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sum Column by Date Range

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Lexi" wrote in message
...
THANKS, WORKED GREAT!!!

"T. Valko" wrote:

One way:

=SUMIF(A1:A3,"="&DATE(2007,2,10),B1:B3)-SUMIF(A1:A3,""&DATE(2007,9,7))

Better to use cells to hold the date range:

D1 = 2/10/2007
E1 = 9/7/2007

=SUMIF(A1:A3,"="&D1,B1:B3)-SUMIF(A1:A3,""&E1,B1:B3)

--
Biff
Microsoft Excel MVP


"Lexi" wrote in message
...
I have 2 columns, one with date the other with $amounts. I want to sum
the
$amounts, but only by a date range,(ie 2/10/07-9/07/07).

Date Amount
1/1/2006 125
2/10/2007 50
9/07/2007 25

I need help with a fomula for this.






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
COUNTIF: 2 criteria: Date Range Column & Text Column MAC Excel Worksheet Functions 14 September 16th 08 04:39 PM
Select a Range of column depending on the date Battykoda via OfficeKB.com Excel Worksheet Functions 1 May 2nd 07 08:22 PM
select date range in column garlocd Excel Worksheet Functions 2 July 11th 06 06:23 AM
2 column lookup - match to date range abehart Excel Worksheet Functions 3 April 14th 06 11:42 AM
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM


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