Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Di
 
Posts: n/a
Default counting date entries by month & year

I have a column with over 11(K) date entries. This column grows daily. I
need a formula that will total the number of entries by month & year
(disregarding the day).
  #2   Report Post  
Blue Hornet
 
Posts: n/a
Default

A very simple way to accomplish this is to put in a "helper column"
consisting of:
= text( year( your_date_cell), "####") & " - " & text( month(
your_date_cell), "##")

Then just let Excel subtotal (Data / Subtotal) "Count" on changes in
the helper column. This assumes that the entries are arranged
chronologically in the column containing "your_date_cell".

Chris

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Create a helper column and add the year there
=YEAR(A2)
and another with the month
=MONTH(A2)

and then create a pivot table for all of it. Probably simpler than trying to
build yourself.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Di" wrote in message
...
I have a column with over 11(K) date entries. This column grows daily. I
need a formula that will total the number of entries by month & year
(disregarding the day).



  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 22 Aug 2005 08:36:52 -0700, "Di" wrote:

I have a column with over 11(K) date entries. This column grows daily. I
need a formula that will total the number of entries by month & year
(disregarding the day).


Column A = your list of date entries.

B1:Bn A list of dates being the first of each month of interest.

B1: 1 Jan 2000
B2: 1 Feb 2000
B3: 1 Mar 2000
etc.

If you put the above dates in B1 and B2; select B1&B2; place the cursor in the
lower right corner of the selection until it changes to a cross-hair, then
press the left mouse button and drag it down, it will increment automatically.

Copy down further into the future than you need.

Format the cells: Format/Cells/Number/Custom Type: mmm yyyy

C1: =COUNTIF(A:A,"="&B1)-COUNTIF(A:A,"="&B2)

Format as number.
Copy/Drag down as needed.




--ron
  #5   Report Post  
Di
 
Posts: n/a
Default

What is a helper column? The date column is not arranged chronologically &
is about 50 percent blank.
=MONTH(A2)
=YEAR(A2)
Just gives me the year & month entered in the respective cells but doesnt
count anything. Could I have the cells formatted incorrectly?



"Bob Phillips" wrote:

Create a helper column and add the year there
=YEAR(A2)
and another with the month
=MONTH(A2)

and then create a pivot table for all of it. Probably simpler than trying to
build yourself.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Di" wrote in message
...
I have a column with over 11(K) date entries. This column grows daily. I
need a formula that will total the number of entries by month & year
(disregarding the day).






  #6   Report Post  
Di
 
Posts: n/a
Default

The date column is not arranged chronologically & is about 50 percent blank.

"Blue Hornet" wrote:

A very simple way to accomplish this is to put in a "helper column"
consisting of:
= text( year( your_date_cell), "####") & " - " & text( month(
your_date_cell), "##")

Then just let Excel subtotal (Data / Subtotal) "Count" on changes in
the helper column. This assumes that the entries are arranged
chronologically in the column containing "your_date_cell".

Chris


  #7   Report Post  
Di
 
Posts: n/a
Default

A variation of this worked!! Thanks for the help!

"Ron Rosenfeld" wrote:

On Mon, 22 Aug 2005 08:36:52 -0700, "Di" wrote:

I have a column with over 11(K) date entries. This column grows daily. I
need a formula that will total the number of entries by month & year
(disregarding the day).


Column A = your list of date entries.

B1:Bn A list of dates being the first of each month of interest.

B1: 1 Jan 2000
B2: 1 Feb 2000
B3: 1 Mar 2000
etc.

If you put the above dates in B1 and B2; select B1&B2; place the cursor in the
lower right corner of the selection until it changes to a cross-hair, then
press the left mouse button and drag it down, it will increment automatically.

Copy down further into the future than you need.

Format the cells: Format/Cells/Number/Custom Type: mmm yyyy

C1: =COUNTIF(A:A,"="&B1)-COUNTIF(A:A,"="&B2)

Format as number.
Copy/Drag down as needed.




--ron

  #8   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 24 Aug 2005 07:49:33 -0700, "Di" wrote:

A variation of this worked!! Thanks for the help!


Glad to help. Thank you for the feedback.


--ron
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 do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM
create a date from year, day and month Baerbel Excel Worksheet Functions 3 November 13th 04 06:46 PM
counting specified date entries dave Excel Worksheet Functions 2 November 11th 04 09:28 AM
Combine & Display “Fixed” & “Automatically Updated” Date Parts texcel Excel Worksheet Functions 1 November 1st 04 05:38 PM


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