ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Count function in Auto-Filtered data (https://www.excelbanter.com/excel-discussion-misc-queries/227170-count-function-auto-filtered-data.html)

Chart blues[_2_]

Count function in Auto-Filtered data
 
I'm using the auto-filter option in my data base and need to count the number
of cells (either numbers or text) selected and when I use the COUNTA function
it doesn't give me the correct number. I think the problem may be caused by
the filtering option which alters the row numbering (not consecutive).

Can someone help with this problem,please?

Thanks,

RonaldoOneNil

Count function in Auto-Filtered data
 
If your range is A1:A1000 then instead of using the COUNTA function, use
=SUBTOTAL(3,A1:A1000)

"Chart blues" wrote:

I'm using the auto-filter option in my data base and need to count the number
of cells (either numbers or text) selected and when I use the COUNTA function
it doesn't give me the correct number. I think the problem may be caused by
the filtering option which alters the row numbering (not consecutive).

Can someone help with this problem,please?

Thanks,



All times are GMT +1. The time now is 02:13 AM.

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