A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Counting Rows by Month



 
 
Thread Tools Display Modes
  #1  
Old November 15th, 2005, 12:07 PM
external usenet poster
 
Posts: n/a
Default Counting Rows by Month

Hi,

I have a large table with ~2500 rows. One column contains date
information (date of the creation of the record).

I'd like to count how many records (rows) I have for each month. I
tried with the countif() function, but I don't know how to express a
date range in the criteria field.

Thanks in advance for your help.

Raph

  #2  
Old November 15th, 2005, 12:39 PM
Roger Govier
external usenet poster
 
Posts: n/a
Default Counting Rows by Month

Hi

One way
=COUNTIF(A1:A2500,"=01/11/2005")-COUNTIF(A1:A2500,"30/11/2005")
for the month of November
Or if you want to put your start and end dates in separate cells so you can
amend them, then with start date in D1 and end date in E1

=COUNTIF(A1:A2500,"="&D1)-COUNTIF(A1:A2500,""&E1)

Format the cell with the formula as General.

Regards

Roger Govier


wrote:
Hi,

I have a large table with ~2500 rows. One column contains date
information (date of the creation of the record).

I'd like to count how many records (rows) I have for each month. I
tried with the countif() function, but I don't know how to express a
date range in the criteria field.

Thanks in advance for your help.

Raph

  #3  
Old November 15th, 2005, 01:03 PM
Don Guillett
external usenet poster
 
Posts: n/a
Default Counting Rows by Month

to count
=SUMPRODUCT((MONTH(ChecksA)=1)*1)
to sum d for month 1
=SUMPRODUCT((MONTH(ChecksA)=1)*ChecksD)

--
Don Guillett
SalesAid Software

wrote in message
oups.com...
Hi,

I have a large table with ~2500 rows. One column contains date
information (date of the creation of the record).

I'd like to count how many records (rows) I have for each month. I
tried with the countif() function, but I don't know how to express a
date range in the criteria field.

Thanks in advance for your help.

Raph



  #5  
Old November 17th, 2005, 06:12 AM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default Counting Rows by Month

there may be easier ways
what I would do
your first date is A1
in B1 type
=month(a1)
copy down all the 2500rows in column B
if you want to count for the month of November which is 11
empty cell type

=COUNTIF(B1:B2000,11)

===============================
"Paul S" wrote in message
...

Wrote:
Hi,

I have a large table with ~2500 rows. One column contains date
information (date of the creation of the record).

I'd like to count how many records (rows) I have for each month. I
tried with the countif() function, but I don't know how to express a
date range in the criteria field.

Thanks in advance for your help.

Raph


Hi Raph

Try adding a helper column into which you paste the dates, then format
the dates as mmm, and then do countif


--
Paul S



  #6  
Old November 28th, 2005, 01:17 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default Counting Rows by Month

Excellent! Thanks everyone for your help!

Raph

  #7  
Old November 28th, 2005, 02:03 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default Counting Rows by Month

Excellent, thanks everyone!

Raph

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting rows with 3 columns Tuc Worksheet Functions 4 April 26th, 2005 06:46 PM
Insert rows Mr. G. Worksheet Functions 3 March 31st, 2005 03:49 AM
counting distinct rows using a textbox dshemesh Using Forms 8 December 25th, 2004 10:26 AM
Counting or Grouping Rows Chuck Running & Setting Up Queries 1 June 3rd, 2004 03:03 AM
Counting rows in a word table 2003 Mary Ann Tables 3 May 20th, 2004 08:51 AM


All times are GMT +1. The time now is 09:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.