Range A1:A500 contain dates and many of them are duplicates. I'd like to count al dates which have more than four duplicates. For instance if 01-01-2010 would appear more than four times in the range it should be counted.
I tried to get it work in an array formula with frequency but to no avail.
please help.
Thanks
Last edited by haan0054; 03-11-2010 at 02:25 PM.
Try:
confirmed with CTRL+SHIFT+ENTER=COUNT(1/FREQUENCY(IF(COUNTIF(A1:A500,A1:A500)>4,IF(A1:A500<>"",MATCH(A1:A500,A1:A500,0))),ROW(A1:A500)-ROW(A1)+1))
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
You can also use a helper column in B
=Countif(A$1:A1,A1) copied down
then a formula
=Countif(B:B,">4")
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
NBVC, you must breathe excel!!
The array formula works as a charm!
Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks