Count amount of different dates & amounts of them.
Assuming the data is in A1:A13.
In C1, enter
=IF(A1="","",IF(COUNTIF($A$1:A1,A1)1,"",ROW()))
In D1, enter
=IF(ISERROR(SMALL(C:C,ROW(A1))),"",
INDEX(A:A,MATCH(SMALL(C:C,ROW(A1)),C:C,0)))
and format as a date,
In E1, enter
=IF(D1="",D1,COUNTIF(A:A,D1))
Copy C1:E1 down.
--
---
HTH
Bob
(change the xxxx to gmail if mailing direct)
"egibberate" wrote in message
...
Is this really a new user group :-)
I guess I'm a slow learner :-(
Hi,
I have a column with Dates from the current Month, in non sequential
order & repeated many times over & with blank cells inbetween in some
rows (awaiting data)
04/12/06
01/12/06
03/12/06
04/12/06
02/12/06
01/12/06
05/12/06
05/12/06
02/12/06
I want my code to search the column to find out how many
different dates there are & count how many instances of each of those
dates there are.Will the first part of this need to be a function that is
called? If so, where & how do I store the function? Please be patient,
brand new at this & getting no younger, but need a little guidance when my
textbook 'Excel VBA in Easy Steps' leaves me wanting!
|