Works for me. See this screencap:
http://img205.imageshack.us/img205/3...tconsecpt0.jpg
after changing the references
If it doesn't work tell me where the data is. Is there more than one empty
cell between any group?
--
Biff
Microsoft Excel MVP
"Peter" wrote in message
...
Hi and thanks for the formula. I tried dragging it down after
changing the references, but after the first group of numbers it
doesn't correctly count from then on. Pilot error?
On Fri, 14 Dec 2007 00:05:06 -0500, "T. Valko"
wrote:
Improvement...
This formula doesn't require the cell immediately above the data be empty.
Assuming data starts in A2.
=IF(A3="",COUNT(A2:INDEX(A$2:A2,MAX(INDEX((A$2:A 2="")*ROW(A$2:A2),,1)))),"")