Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Need to count dates in a spreadsheet

I have a spreadsheet with a column containing dates formatted as mm/dd/yyy
and they are in random order. I need to count how many of the dates in the
column are in January, February, March, etc. and come up with totals in
another set of cells. I have tried various functions like COUNTIF with MONTH
but I cannot seem to get the right combination. Anybody out there ever do
this type of thing?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Need to count dates in a spreadsheet

Tomcat,

Select all your dates (along with the heading), then choose Data / Pivot Table.... and press Finish.

Then drag the heading button to both the row and data areas, then right click the row area and
choose "Group..." and group by month.

You will get a count of the number of dates for each month (also separated by year...)

HTH,
Bernie
MS Excel MVP


"Tomcat" wrote in message
...
I have a spreadsheet with a column containing dates formatted as mm/dd/yyy
and they are in random order. I need to count how many of the dates in the
column are in January, February, March, etc. and come up with totals in
another set of cells. I have tried various functions like COUNTIF with MONTH
but I cannot seem to get the right combination. Anybody out there ever do
this type of thing?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Need to count dates in a spreadsheet

Thanks Bernie. That worked just fine. How do I expand the pivot table as
the column range grows with more date entries?

"Bernie Deitrick" wrote:

Tomcat,

Select all your dates (along with the heading), then choose Data / Pivot Table.... and press Finish.

Then drag the heading button to both the row and data areas, then right click the row area and
choose "Group..." and group by month.

You will get a count of the number of dates for each month (also separated by year...)

HTH,
Bernie
MS Excel MVP


"Tomcat" wrote in message
...
I have a spreadsheet with a column containing dates formatted as mm/dd/yyy
and they are in random order. I need to count how many of the dates in the
column are in January, February, March, etc. and come up with totals in
another set of cells. I have tried various functions like COUNTIF with MONTH
but I cannot seem to get the right combination. Anybody out there ever do
this type of thing?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Need to count dates in a spreadsheet

Tomcat,

It depends. If you are manually entering the dates, insert a new cell above the last cell and then
enter the date into that cell. Or select more cells than you ever expect to use: select a cell in
the pivot table, then use the pivot table wizard and click "Back" then change the bottom row of the
range to some big number. Or use a dynamic named range. Or use a macro. Or create the Pivot Table
each time. Or.... Excel offers many many ways to skin any proverbial (tom)cat. ;-)

HTH,
Bernie
MS Excel MVP


"Tomcat" wrote in message
...
Thanks Bernie. That worked just fine. How do I expand the pivot table as
the column range grows with more date entries?

"Bernie Deitrick" wrote:

Tomcat,

Select all your dates (along with the heading), then choose Data / Pivot Table.... and press
Finish.

Then drag the heading button to both the row and data areas, then right click the row area and
choose "Group..." and group by month.

You will get a count of the number of dates for each month (also separated by year...)

HTH,
Bernie
MS Excel MVP


"Tomcat" wrote in message
...
I have a spreadsheet with a column containing dates formatted as mm/dd/yyy
and they are in random order. I need to count how many of the dates in the
column are in January, February, March, etc. and come up with totals in
another set of cells. I have tried various functions like COUNTIF with MONTH
but I cannot seem to get the right combination. Anybody out there ever do
this type of thing?






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Need to count dates in a spreadsheet

Thanks once again. I appreciate the help.

"Bernie Deitrick" wrote:

Tomcat,

It depends. If you are manually entering the dates, insert a new cell above the last cell and then
enter the date into that cell. Or select more cells than you ever expect to use: select a cell in
the pivot table, then use the pivot table wizard and click "Back" then change the bottom row of the
range to some big number. Or use a dynamic named range. Or use a macro. Or create the Pivot Table
each time. Or.... Excel offers many many ways to skin any proverbial (tom)cat. ;-)

HTH,
Bernie
MS Excel MVP


"Tomcat" wrote in message
...
Thanks Bernie. That worked just fine. How do I expand the pivot table as
the column range grows with more date entries?

"Bernie Deitrick" wrote:

Tomcat,

Select all your dates (along with the heading), then choose Data / Pivot Table.... and press
Finish.

Then drag the heading button to both the row and data areas, then right click the row area and
choose "Group..." and group by month.

You will get a count of the number of dates for each month (also separated by year...)

HTH,
Bernie
MS Excel MVP


"Tomcat" wrote in message
...
I have a spreadsheet with a column containing dates formatted as mm/dd/yyy
and they are in random order. I need to count how many of the dates in the
column are in January, February, March, etc. and come up with totals in
another set of cells. I have tried various functions like COUNTIF with MONTH
but I cannot seem to get the right combination. Anybody out there ever do
this type of thing?








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
I want to count the total Number of dates between two dates How? seshu Excel Worksheet Functions 3 February 7th 08 05:41 PM
Count of Dates Zoltan Excel Discussion (Misc queries) 1 March 13th 07 12:41 AM
COUNT IF BETWEEN DATES kathi Excel Worksheet Functions 7 February 15th 06 04:14 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
count dates rabol New Users to Excel 3 March 6th 05 06:25 PM


All times are GMT +1. The time now is 05:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"