Counting number of occurences of a date

cranfss

New Member
Joined
Oct 11, 2006
Messages
2
I have a column A with:
11/2/2005
11/2/2005
11/3/2005
11/3/2005
11/8/2005
11/8/2005

How do I count the number of occurences of each date so that is looks like this:

11/2/2005
11/2/2005 2
11/3/2005
11/3/2005 2
11/8/2005
11/8/2005
11/8/2005 3

Thanks.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

eliW

Well-known Member
Joined
Mar 2, 2002
Messages
1,934
Hi

This what I get with a most simple Pivot table:
DATE in Row field and Count of DATE in DATA field.

Eli
Book1
ABCDE
1DATE
211/02/2005
311/02/2005CountofDATE
411/03/2005DATETotal
511/03/200511/02/20052
611/08/200511/03/20052
711/08/200511/08/20052
8GrandTotal6
9
גיליון1
 

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
Note, you can also group your dates by days (7 days for a week), Months, or Years.Might be useful

lenze
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
58,374
Office Version
  1. 365
Platform
  1. Windows
Let's say your data is in the range A1:A7, then put this formula in B1 and copy down for all rows:

=IF(A1<>A2,COUNTIF(A$1:A$7,A1),"")
 

cranfss

New Member
Joined
Oct 11, 2006
Messages
2

ADVERTISEMENT

Thanks for the replies!

Eli, I like the pivot table but I am unable to access any cell except a1. Can you email the spreadsheet to me?

Thanks.
 

eliW

Well-known Member
Joined
Mar 2, 2002
Messages
1,934
my pleasure! but you forgot to mention your Email address!
 

Forum statistics

Threads
1,136,927
Messages
5,678,621
Members
419,776
Latest member
mikelowski

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top