Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RaY RaY is offline
external usenet poster
 
Posts: 164
Default how to find out if a row is hidden

Hi
Using only worksheet functions, how do I find out if a row is hidden?
Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default how to find out if a row is hidden

I don't think you can, you need VBA.

This is a UDF that can do it

Function RowIsHidden(rng As Range)
If Rng.Rows.Count = 1Then
RowIsHidden = rng.Row.Hidden
End If
End Function

and use like

=RowIsHidden(H10)

--
__________________________________
HTH

Bob

"Ray" wrote in message
...
Hi
Using only worksheet functions, how do I find out if a row is hidden?
Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 634
Default how to find out if a row is hidden

One way would be to have say a series of 1s in a column, eg lets assume
A2:A100, and then in cell A1 you were to use a formula such as

=SUM(A2:A100)-SUBTOTAL(109,A2:A100)

then any value in cell A1 other than 0 would indicate a hidden row within
that range.

You could also conditionally format cell A1 to flag up red or something if
that condition was met.

The 109 argument in the SUBTOTAL function is only available in Excel 2003
onwards.

Regards
Ken..............................



"Ray" wrote in message
...
Hi
Using only worksheet functions, how do I find out if a row is hidden?
Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RaY RaY is offline
external usenet poster
 
Posts: 164
Default how to find out if a row is hidden

Hi,

Andy, Ken, Bob, thank-you for your replies.

The idea of using subtotal() was useful as I can indicate whether I want
hidden values to be included into the function.

Cheers,

Rayney

"Ray" wrote:

Hi
Using only worksheet functions, how do I find out if a row is hidden?
Thanks.

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
Can't find hidden worksheet xlsVeryhidden Kokomo Keith Excel Worksheet Functions 1 October 11th 07 11:30 PM
DATEDIF() The hidden function - You may find it useful. Dave Thomas Excel Worksheet Functions 1 July 16th 07 04:56 PM
find hidden data in worksheet catlover1946 Excel Worksheet Functions 19 July 20th 06 03:33 AM
find hidden data in worksheet catlover1946 Excel Worksheet Functions 0 July 7th 06 03:50 AM
How to find hidden text Judy Ward Excel Worksheet Functions 0 January 20th 06 01:33 AM


All times are GMT +1. The time now is 07:37 AM.

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

About Us

"It's about Microsoft Excel"