Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ed
 
Posts: n/a
Default If "x" Hide / Unhide Rows

Hello, I have a table which has main activities and subactivities. Main
activities are the total of the subactivities and are diferentiated with a
"x" in a specific column... how can I manage, I guess i will need a Macro or
something, to automatically Hide all the Rows not containing that "x" so in
that way I can easily have the summary of all instead of manually hiding and
unhiding rows?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default If "x" Hide / Unhide Rows

You could apply Data|Filter|Autofilter to that column.

Then use the dropdown arrow, choose X from the adjecent dropdown
To see what you want.

Then data|Filter|Show all
to see everything.

Ed wrote:

Hello, I have a table which has main activities and subactivities. Main
activities are the total of the subactivities and are diferentiated with a
"x" in a specific column... how can I manage, I guess i will need a Macro or
something, to automatically Hide all the Rows not containing that "x" so in
that way I can easily have the summary of all instead of manually hiding and
unhiding rows?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Arien
 
Posts: n/a
Default If "x" Hide / Unhide Rows


Maybe you could use the Data|Filter or the Data|Group function to hide
certain lines. That would be much easier than writing a macro.

regards,
Arien


--
Arien
------------------------------------------------------------------------
Arien's Profile: http://www.excelforum.com/member.php...fo&userid=1892
View this thread: http://www.excelforum.com/showthread...hreadid=533773

  #4   Report Post  
Posted to microsoft.public.excel.misc
E.Q.
 
Posts: n/a
Default If "x" Hide / Unhide Rows

Hi Ed,
I can think of a couple ways to proceed here. You can use the "Group and
Outline" feature under "Data" in the main menu. If the "x" column is
conveniently below the rows summed, select the rows above the "x" and group
them together.
Another option is to use the data filter feature. Again you'll need to make
sure your table structure has no blank rows. And it helps if your table has
a single row header on top. But using this feature you can filter so that
only those rows with an "x" in the designated column show up. This feature
also has the added benefit of being able to use the =subtotal() function to
summarize your "main activities."
You could write a macro, but I think this might be a case where you can
design your table such that a macro isn't necessary. (Though I tend to think
they're fun to write.)
Hope this helps.
E.Q.C.

"Ed" wrote:

Hello, I have a table which has main activities and subactivities. Main
activities are the total of the subactivities and are diferentiated with a
"x" in a specific column... how can I manage, I guess i will need a Macro or
something, to automatically Hide all the Rows not containing that "x" so in
that way I can easily have the summary of all instead of manually hiding and
unhiding rows?

  #5   Report Post  
Posted to microsoft.public.excel.misc
Ed
 
Posts: n/a
Default If "x" Hide / Unhide Rows

Yeah the answer was quite simple and I was thinking about more complicated
stuff, I hadn't used the Filter before, it is quite handy!

Thanks all,

Ed
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
hide or unhide rows with button Bea Excel Discussion (Misc queries) 15 September 19th 07 07:03 PM
unlock hidden rows when 'unhide' is greyed out? xela Excel Worksheet Functions 1 February 21st 06 02:16 AM
hide rows based on cell value dummster New Users to Excel 1 February 15th 06 11:37 PM
Hide Unhide Hide again DTTODGG New Users to Excel 1 February 15th 06 03:22 PM
Why cannot I unhide the hidden rows ? Jim Edwards Excel Discussion (Misc queries) 2 December 4th 04 04:38 PM


All times are GMT +1. The time now is 09:11 PM.

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"