Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JRD JRD is offline
external usenet poster
 
Posts: 60
Default counting cells containing certain ranges of dates

How do I count the number of cells in a column that contain an entry between
certain dates. Note, that the entries are in a date format so that although
the entry in the cells is as below, in the data entry box above the
worksheet, 01 October 2006 appears 01/10/2006. So for example how do I count
the cells below between October 1st and October 2nd - answer: 4

Date of procedure
01 October 2006
02 October 2006
02 October 2006
02 October 2006
03 October 2006
03 October 2006
03 October 2006

Thanks

John

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default counting cells containing certain ranges of dates

Hi,

Maybe

=COUNTIF(A1:A20,"="&B1)-COUNTIF(A1:A20,"="&C1)

With you date in column A and where B1 contains your earlier date and C1 the
latter

Mike

"JRD" wrote:

How do I count the number of cells in a column that contain an entry between
certain dates. Note, that the entries are in a date format so that although
the entry in the cells is as below, in the data entry box above the
worksheet, 01 October 2006 appears 01/10/2006. So for example how do I count
the cells below between October 1st and October 2nd - answer: 4

Date of procedure
01 October 2006
02 October 2006
02 October 2006
02 October 2006
03 October 2006
03 October 2006
03 October 2006

Thanks

John

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
Counting cells between ranges Jason30 Excel Discussion (Misc queries) 6 July 24th 06 03:15 AM
counting valid dates in a range of cells TBA Excel Worksheet Functions 5 June 29th 06 04:39 AM
Counting Cells with certain date ranges as values audreyglennette Excel Worksheet Functions 12 May 4th 06 12:21 AM
How do I count cells in a column of dates between date ranges? Andrew82 Excel Worksheet Functions 2 April 14th 05 09:59 AM
Counting the number cells between two dates Dave Excel Discussion (Misc queries) 3 March 16th 05 02:30 PM


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