Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Art Art is offline
external usenet poster
 
Posts: 587
Default Count non-hidden rows

Is there a way to count non-hidden rows in a column?
--
Art
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Count non-hidden rows

Look in the help index for SUBTOTAL and read the part about hidden non

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Art" wrote in message
...
Is there a way to count non-hidden rows in a column?
--
Art


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Count non-hidden rows

Lots of ideas for counting he
http://www.contextures.com/xlFunctions04.html

Good info here too:
http://www.ozgrid.com/Excel/excel-subtotal-function.htm

You need something like this:
=SUBTOTAL(2,A1:A10)

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Don Guillett" wrote:

Look in the help index for SUBTOTAL and read the part about hidden non

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Art" wrote in message
...
Is there a way to count non-hidden rows in a column?
--
Art


.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Count non-hidden rows

Ryan; function_num 2 is to include hidden values. To ignore hidden values the
function_num is 102

=SUBTOTAL(102,A1:A100)

--
Jacob


"ryguy7272" wrote:

Lots of ideas for counting he
http://www.contextures.com/xlFunctions04.html

Good info here too:
http://www.ozgrid.com/Excel/excel-subtotal-function.htm

You need something like this:
=SUBTOTAL(2,A1:A10)

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Don Guillett" wrote:

Look in the help index for SUBTOTAL and read the part about hidden non

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Art" wrote in message
...
Is there a way to count non-hidden rows in a column?
--
Art


.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Count non-hidden rows

And I dont think the OP is looking for count() which gives the count of
numerics instead OP is looking for "count non-hidden rows in a column?"

--
Jacob


"Jacob Skaria" wrote:

Ryan; function_num 2 is to include hidden values. To ignore hidden values the
function_num is 102

=SUBTOTAL(102,A1:A100)

--
Jacob


"ryguy7272" wrote:

Lots of ideas for counting he
http://www.contextures.com/xlFunctions04.html

Good info here too:
http://www.ozgrid.com/Excel/excel-subtotal-function.htm

You need something like this:
=SUBTOTAL(2,A1:A10)

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Don Guillett" wrote:

Look in the help index for SUBTOTAL and read the part about hidden non

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Art" wrote in message
...
Is there a way to count non-hidden rows in a column?
--
Art

.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Count non-hidden rows

If you meant using VBA code, something like this should work...

Dim RangeToCount As String, VisibleRows As Long
.....
.....
RangeToCount = "A1:A100"
On Error Resume Next
VisibleRows = Range(RangeToCount).SpecialCells(xlCellTypeVisible ).Count

--
Rick (MVP - Excel)


"Art" wrote in message
...
Is there a way to count non-hidden rows in a column?
--
Art


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hidden rows columns won't stay hidden christie Excel Worksheet Functions 0 September 30th 08 05:44 PM
Counting rows in a spreadsheet, but I don't want to count hidden r petprincess Excel Discussion (Misc queries) 1 April 21st 08 09:08 PM
Count number of rows, where non relevant rows are hidden Pieter Excel Discussion (Misc queries) 2 November 8th 06 12:24 PM
I need my Hidden Rows to stay hidden when I print the sheet. Rosaliewoo Excel Discussion (Misc queries) 2 July 20th 06 07:51 PM
Unique Count sensitive to hidden/filtered rows Ian Excel Worksheet Functions 7 May 12th 05 08:58 PM


All times are GMT +1. The time now is 06:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"