Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Hiding rows if specific cell does not contain key word


I am trying to hide rows 127 - 216 on sheet2 if cell J13 on sheet1 does
not say "Combo"

I need to do this because all the data in this area only shows up if
"combo" is selected and when I print a report pages 4 and 5 are blank.
And the reports are converted to PDF so I have 10 pages and the middle
ones are blank. It just doesnt look good.

Any suggestions.


--
jermsalerms
------------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...o&userid=30167
View this thread: http://www.excelforum.com/showthread...hreadid=554634

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Hiding rows if specific cell does not contain key word

Try using a tracking column. This column can have an If statement which
will translate
to a 0 or 1 based on whether there is information on said page.
Then filter the tracking column to only show 1.

If you have sections such as paragraphs or pages reference every row in
that range to
the initial IF statement for that range. This will then have all the
rows in each range as either 1 or 0

When you filter only the ranges with 1 will ever appear and print.
Place the tracking column outside your print area and it will never
show up on the printed document.

It's a cheap trick but it works for me.

Example:

from rows 127-216
tracking column
=IF('sheet1'!$J$13="Combo","1","0")
place that in each row 127-216 in a column outside printable area.

Then just filter.

Obviously you will have to place a 1 in all other rows being filtered
to include them
in the filter results.


G.
jermsalerms wrote:
I am trying to hide rows 127 - 216 on sheet2 if cell J13 on sheet1 does
not say "Combo"

I need to do this because all the data in this area only shows up if
"combo" is selected and when I print a report pages 4 and 5 are blank.
And the reports are converted to PDF so I have 10 pages and the middle
ones are blank. It just doesnt look good.

Any suggestions.


--
jermsalerms
------------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...o&userid=30167
View this thread: http://www.excelforum.com/showthread...hreadid=554634


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
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
sort data by specific word in cell? Nicki_xxxxxxxxx Excel Discussion (Misc queries) 1 April 4th 06 10:39 AM
Excel 2003 Word Wrap Problem within cell Dan S. Excel Discussion (Misc queries) 1 October 17th 05 03:54 PM
Copy Word table into Excel cell by cell hg Excel Discussion (Misc queries) 3 December 15th 04 04:43 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM


All times are GMT +1. The time now is 11:49 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"