Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default How do I add totals from a range of dates depending on the month?

I am trying to write a formula to add all totals for each month irrespective
of the year. So an August total and a September total in this case. Any
ideas???

30/08/2006 $70
30/08/2006 $45
30/08/2006 $21
01/09/2006 $35
01/09/2006 $100
01/09/2006 $50
30/08/2007 $70
30/08/2007 $45
30/08/2007 $21
01/09/2007 $35
01/09/2007 $100
01/09/2007 $50

Thanks :o)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default How do I add totals from a range of dates depending on the month?

Hi!

Try this:

=SUMPRODUCT(--(MONTH(A1:A12)=8),B1:B12)

Just change the month number (=8) as needed.

Biff

"Confused" wrote in message
...
I am trying to write a formula to add all totals for each month
irrespective
of the year. So an August total and a September total in this case. Any
ideas???

30/08/2006 $70
30/08/2006 $45
30/08/2006 $21
01/09/2006 $35
01/09/2006 $100
01/09/2006 $50
30/08/2007 $70
30/08/2007 $45
30/08/2007 $21
01/09/2007 $35
01/09/2007 $100
01/09/2007 $50

Thanks :o)



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default How do I add totals from a range of dates depending on the mon

Thanks Biff ... u da best!!! :o)

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(MONTH(A1:A12)=8),B1:B12)

Just change the month number (=8) as needed.

Biff

"Confused" wrote in message
...
I am trying to write a formula to add all totals for each month
irrespective
of the year. So an August total and a September total in this case. Any
ideas???

30/08/2006 $70
30/08/2006 $45
30/08/2006 $21
01/09/2006 $35
01/09/2006 $100
01/09/2006 $50
30/08/2007 $70
30/08/2007 $45
30/08/2007 $21
01/09/2007 $35
01/09/2007 $100
01/09/2007 $50

Thanks :o)




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default How do I add totals from a range of dates depending on the mon

You're welcome!

Biff

"Confused" wrote in message
...
Thanks Biff ... u da best!!! :o)

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(MONTH(A1:A12)=8),B1:B12)

Just change the month number (=8) as needed.

Biff

"Confused" wrote in message
...
I am trying to write a formula to add all totals for each month
irrespective
of the year. So an August total and a September total in this case. Any
ideas???

30/08/2006 $70
30/08/2006 $45
30/08/2006 $21
01/09/2006 $35
01/09/2006 $100
01/09/2006 $50
30/08/2007 $70
30/08/2007 $45
30/08/2007 $21
01/09/2007 $35
01/09/2007 $100
01/09/2007 $50

Thanks :o)






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
SUM a range of sales based on month Manos Excel Worksheet Functions 9 May 8th 06 10:30 AM
Count dates for previous month [email protected] Excel Worksheet Functions 3 April 30th 06 08:40 PM
Lookup based on range of dates dls2193 Excel Worksheet Functions 1 March 30th 06 11:21 PM
Counting dates for a the present month but not future months BrianInCalifornia Excel Worksheet Functions 3 December 7th 05 02:00 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 12:20 PM.

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"