If your data starts in A2 then put this formula in B2:
=IF(A3="",COUNT(A$2:A2)-SUM(B1:B$2),"")
That works just fine as long as the data doesn't start in row 1.
--
Biff
Microsoft Excel MVP
"T. Valko" wrote in message
...
It's also a little easier to understand than what has been posted
previously.
Yeah, you got that right!
Nice and simple. I'm calling it a day!
--
Biff
Microsoft Excel MVP
"g-" wrote in message
...
If your data starts in A2 then put this formula in B2:
=IF(A3="",COUNT(A$2:A2)-SUM(B1:B$2),"")
Copy this formula down and you'll get what you need.
It's also a little easier to understand than what has been posted
previously.
g-
___________________________________
Need holiday money. Got any jobs, big or small, drop me a line! Thanks!
"Peter" wrote in message
...
If I have a column that likes like this:
5
5
6
2 4
2
3
2 3
1 1
2
3
1 3
I want to count each the number of items in each group and have it
show up next to it's group as in the example. I assume it's some kind
of array formula similar to summing the numbers in each group.
Thanks very much for all of the help. I really do appreciate it.
This is great group.