Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 92
Default Summing based on a range of dates

In column A I have dates for the entire year in one week increments, I.e
1/1/2009, 1/8/2009, etc.. In column B I have the number of customer acquired
during that week. I want to now sum the number of customers by each month.
This will allow me to develop acquisition nnumbers against marketing pieces
mailed each week instead of totaling them for the month. I am looking for a
sum feature that will read and sum values within the range of 1/1/2009 -
1/29/2009, 2/5/2009 - 2/26/2009, etc..

Any suggestions?

Thanks

Dale
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Summing based on a range of dates

=SUMPRODUCT(--(YEAR(A2:A1000)=2009),--(MONTH(A2:A1000)=1),B2:B1000)

The above would be for Jan 2009, do the same for all the other months


--


Regards,


Peo Sjoblom


"Dale" wrote in message
...
In column A I have dates for the entire year in one week increments, I.e
1/1/2009, 1/8/2009, etc.. In column B I have the number of customer
acquired
during that week. I want to now sum the number of customers by each
month.
This will allow me to develop acquisition nnumbers against marketing
pieces
mailed each week instead of totaling them for the month. I am looking for
a
sum feature that will read and sum values within the range of 1/1/2009 -
1/29/2009, 2/5/2009 - 2/26/2009, etc..

Any suggestions?

Thanks

Dale



  #3   Report Post  
Posted to microsoft.public.excel.misc
jc jc is offline
external usenet poster
 
Posts: 164
Default Summing based on a range of dates

If you want to sum specific dates ranges (rather than by months) you will
need to specify in the formula itself. Try the following:
=SUMIF(A2:A100,"=01/01/2009",B2:B100)-SUMIF(A2:A100,"01/29/2009",B2:B100)

change the ranges to match your specific spreadsheet. You will need to
repeat for each date range required.

"Dale" wrote:

In column A I have dates for the entire year in one week increments, I.e
1/1/2009, 1/8/2009, etc.. In column B I have the number of customer acquired
during that week. I want to now sum the number of customers by each month.
This will allow me to develop acquisition nnumbers against marketing pieces
mailed each week instead of totaling them for the month. I am looking for a
sum feature that will read and sum values within the range of 1/1/2009 -
1/29/2009, 2/5/2009 - 2/26/2009, etc..

Any suggestions?

Thanks

Dale

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 92
Default Summing based on a range of dates

I found a work around by taking adding a column with the following formula
=text(A3,"mmmm"). This converted the date ranges to the proper month and the
completed my sumif function based on the month name.

Dale

"Dale" wrote:

In column A I have dates for the entire year in one week increments, I.e
1/1/2009, 1/8/2009, etc.. In column B I have the number of customer acquired
during that week. I want to now sum the number of customers by each month.
This will allow me to develop acquisition nnumbers against marketing pieces
mailed each week instead of totaling them for the month. I am looking for a
sum feature that will read and sum values within the range of 1/1/2009 -
1/29/2009, 2/5/2009 - 2/26/2009, etc..

Any suggestions?

Thanks

Dale

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 does one get excel sum of a column based on given dates range co_jer Excel Worksheet Functions 3 March 19th 08 11:56 PM
I want to use sumif to sum up a column based on a range of dates Ricky from Pine Island Excel Worksheet Functions 2 April 13th 07 03:04 PM
Summing a range based on value criteria WiFiMike2006 Excel Discussion (Misc queries) 2 March 1st 07 01:08 AM
Lookup based on range of dates dls2193 Excel Worksheet Functions 1 March 30th 06 11:21 PM
return based on range of dates Matt Excel Worksheet Functions 6 February 15th 06 08:36 PM


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