ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I insert a counter? (https://www.excelbanter.com/excel-worksheet-functions/239948-how-do-i-insert-counter.html)

DianeBrew

How do I insert a counter?
 
I would like to keep a count on the amount of entries in a worksheet.

T. Valko

How do I insert a counter?
 
To count the number of non-empty cells in column A:

=COUNTA(A:A)

--
Biff
Microsoft Excel MVP


"DianeBrew" wrote in message
...
I would like to keep a count on the amount of entries in a worksheet.




Otto Moehrbach[_2_]

How do I insert a counter?
 
Diane
Do you want a running count (in some cell) or do you want to count the
number of occupied cells at some point in time, say when the workbook is
saved? Otto
"DianeBrew" wrote in message
...
I would like to keep a count on the amount of entries in a worksheet.




Michael.Tarnowski

How do I insert a counter?
 
On Aug 17, 6:36 pm, DianeBrew
wrote:
I would like to keep a count on the amount of entries in a worksheet.


Hi Diana,

you should distinguish between a filtered and unfiltered data set.

The formula
=TEXT(COUNTA(dynItemSet);"0000")&" / "&TEXT(SUBTOTAL
(3;dynItemSet);"0000")
gives you by COUNT a counter for the unfiltered, and by SUBTOTAL a
counter for the filtered data set.

Hope that helps, have fun
Cheers
Michael


All times are GMT +1. The time now is 05:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com