ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   row count function (https://www.excelbanter.com/charts-charting-excel/146452-row-count-function.html)

Daniel

row count function
 
How can count all rows in a worksheet or in a column which has data in it
using macro?

In other word, I need to know how many data sets in a worksheet?
Thanks
Daniel


MartinW

row count function
 
Hi Daniel,

No need for a macro.
=COUNTA(B:B) entered in any cell will count any used
cell in column B.

HTH
Martin



"Daniel" wrote in message
...
How can count all rows in a worksheet or in a column which has data in it
using macro?

In other word, I need to know how many data sets in a worksheet?
Thanks
Daniel





All times are GMT +1. The time now is 02:30 PM.

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