Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kentski
 
Posts: n/a
Default How do I count like dates in a column with format "January-05"?

I have a membership roster with a column of renewal dates in the format
"January-05".
I would like to count the number of like dates.

Example:
January-05
June-06
January 05

Result desired:
January-05 (2)
June-06 (1)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Govind
 
Posts: n/a
Default How do I count like dates in a column with format "January-05"?

Hi,

You can use Countif. For eg,

=COUNTIF($A$1:$A$100,"01/01/2005"). If you dont want to type the date
like that, you can refer to a cell where 'January-2005' is typed in. For
eg, if you have 'January-2005' in say A2, use

=COUNTIF($A$1:$A$100,A2)

Regards

Govind.


Kentski wrote:
I have a membership roster with a column of renewal dates in the format
"January-05".
I would like to count the number of like dates.

Example:
January-05
June-06
January 05

Result desired:
January-05 (2)
June-06 (1)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default How do I count like dates in a column with format "January-05"?

One way ..

Assuming the column of renewal dates is col A,
data within A1:A100

In say, C1 down, you have listed:
January-05
June-06

etc

Put in D1:
=SUMPRODUCT(--(TEXT($A$1:$A$100,"mmmm-yy")=TEXT(C1,"mmmm-yy")))
Copy down

Col D will return the required counts
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Kentski" wrote in message
...
I have a membership roster with a column of renewal dates in the format
"January-05".
I would like to count the number of like dates.

Example:
January-05
June-06
January 05

Result desired:
January-05 (2)
June-06 (1)



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default How do I count like dates in a column with format "January-05"?

I've assumed that the source col A may contain
actual dates as the real underlying data, eg:

1-jan-2005
15-jan-2005
2-jun-2006
13-jun-2006
etc

except that col A is formatted to display as: "mmmm-yy"
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Formula help for counting,with a column of dates and a column of n Altstatten Excel Worksheet Functions 2 December 8th 05 09:32 PM
Countif by Year heater Excel Discussion (Misc queries) 17 September 2nd 05 06:52 PM
Format cell in column B based on value in the next cell (column c) Nicole Excel Discussion (Misc queries) 7 May 18th 05 10:19 PM
COUNT NON-BLANK CELLS WITH REFERENCE TO ANOTHER COLUMN carricka Excel Worksheet Functions 1 May 6th 05 04:50 PM


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