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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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
 
Upvote 0
Note, you can also group your dates by days (7 days for a week), Months, or Years.Might be useful

lenze
 
Upvote 0
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),"")
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,331
Members
449,077
Latest member
jmsotelo

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
Back
Top