#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Count By Month

I have searched and do not see what I need. I think it is just that I don't
understand what I am reading.

I have a coumn of dates such as 5/7/2005, 5/23/2006, etc.

I would like to produce a table that counts the number of records per month
such as:
5-2005: 32
6-2005: 16
7-2005: 24
etc.

I am struggling on how to do this. A little hand holding would be
appreciated.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Count By Month

=SUMPRODUCT(--(TEXT(A2:A100,"m")="5"))


"Shoelaces" wrote:

I have searched and do not see what I need. I think it is just that I don't
understand what I am reading.

I have a coumn of dates such as 5/7/2005, 5/23/2006, etc.

I would like to produce a table that counts the number of records per month
such as:
5-2005: 32
6-2005: 16
7-2005: 24
etc.

I am struggling on how to do this. A little hand holding would be
appreciated.

Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Count By Month

"Teethless mama" wrote:

=SUMPRODUCT(--(TEXT(A2:A100,"m")="5"))


If I am not mistaken, this returns how many records are in the month of May.
I am interested in how many records are in May 2005, how many are in May
2006, and how many are in May 2007 individually, not collectively.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Count By Month

=SUMPRODUCT(--(TEXT(A2:A100,"m/yy")="5/05"))

Will give you number of records in May 2005


"Shoelaces" wrote:

"Teethless mama" wrote:

=SUMPRODUCT(--(TEXT(A2:A100,"m")="5"))


If I am not mistaken, this returns how many records are in the month of May.
I am interested in how many records are in May 2005, how many are in May
2006, and how many are in May 2007 individually, not collectively.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Count By Month

If you're interested in all the month/years, you may want to learn about
Data|Pivottable.

It's a quick way to summarize data and you can group your dates by year and
month.

Shoelaces wrote:

"Teethless mama" wrote:

=SUMPRODUCT(--(TEXT(A2:A100,"m")="5"))


If I am not mistaken, this returns how many records are in the month of May.
I am interested in how many records are in May 2005, how many are in May
2006, and how many are in May 2007 individually, not collectively.


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Count By Month

or
=SUMPRODUCT(--(month(A2:A100)=5))





Shoelaces wrote:

I have searched and do not see what I need. I think it is just that I don't
understand what I am reading.

I have a coumn of dates such as 5/7/2005, 5/23/2006, etc.

I would like to produce a table that counts the number of records per month
such as:
5-2005: 32
6-2005: 16
7-2005: 24
etc.

I am struggling on how to do this. A little hand holding would be
appreciated.

Thank you.


--

Dave Peterson
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
Count # of Saturdays in a month Dave Excel Discussion (Misc queries) 1 April 17th 07 04:43 AM
Count reports per month Dewayne Excel Worksheet Functions 2 August 16th 06 11:56 PM
Count the dates in a month s2m via OfficeKB.com Excel Discussion (Misc queries) 5 August 4th 06 05:38 PM
count by month gpoky Excel Worksheet Functions 2 March 7th 06 04:28 PM
PivotTable - Count by Month Gigi Excel Worksheet Functions 3 January 1st 05 12:30 PM


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