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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 |
#4
|
|||
|
|||
Counting Rows by Month
|
#5
|
|||
|
|||
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
|
|||
|
|||
Counting Rows by Month
Excellent! Thanks everyone for your help!
Raph |
#7
|
|||
|
|||
Counting Rows by Month
Excellent, thanks everyone!
Raph |
Thread Tools | |
Display Modes | |
|
|
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 |