View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.misc
Peter[_8_] Peter[_8_] is offline
external usenet poster
 
Posts: 27
Default Counting Inbetween Spaces

That worked. Thanks guys.

On Fri, 14 Dec 2007 02:45:23 -0500, "T. Valko"
wrote:

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.