#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default Unhide row if...

Hello
I have the following formula
=IF($B$50="Product Number",TRUE,"")
what I want to do is if the above formula is true then I want row 51 and row
52 to automatically unhide . Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Unhide row if...

Formulas can't do this kind of thing. For the most part, they return values to
the cell that holds that formula.

Maybe you can use the same kind of formula on the other rows, then use
data|filter|autofilter to hide/show the rows that you want.


Wanna Learn wrote:

Hello
I have the following formula
=IF($B$50="Product Number",TRUE,"")
what I want to do is if the above formula is true then I want row 51 and row
52 to automatically unhide . Thanks


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default Unhide row if...

Thanks Dave Is it possbible to attach a macro to do this?

Dave Peterson" wrote:

Formulas can't do this kind of thing. For the most part, they return values to
the cell that holds that formula.

Maybe you can use the same kind of formula on the other rows, then use
data|filter|autofilter to hide/show the rows that you want.


Wanna Learn wrote:

Hello
I have the following formula
=IF($B$50="Product Number",TRUE,"")
what I want to do is if the above formula is true then I want row 51 and row
52 to automatically unhide . Thanks


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Unhide row if...

To insert the formula or to do the filtering or what?

I guess you could if you wanted.

Start by recording a macro and reviewing that code.

Wanna Learn wrote:

Thanks Dave Is it possbible to attach a macro to do this?

Dave Peterson" wrote:

Formulas can't do this kind of thing. For the most part, they return values to
the cell that holds that formula.

Maybe you can use the same kind of formula on the other rows, then use
data|filter|autofilter to hide/show the rows that you want.


Wanna Learn wrote:

Hello
I have the following formula
=IF($B$50="Product Number",TRUE,"")
what I want to do is if the above formula is true then I want row 51 and row
52 to automatically unhide . Thanks


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Unhide row if...

One way to simulate this, i.e. to hide/unhide the contents of row 51
and 52 (not the same as hiding the rows themselves) is to apply
conditional formatting to rows 51 & 52 such that if the formula is
FALSE then use a white foreground colour on a white background. All
the cells in those rows would appear empty until the formula gave a
TRUE result, but the values could still be seen if, for example, you
highlighted the range.

Just a thought ...

Hope this helps.

Pete

On Jul 6, 2:14 pm, Wanna Learn
wrote:
Hello
I have the following formula
=IF($B$50="Product Number",TRUE,"")
what I want to do is if the above formula is true then I want row 51 and row
52 to automatically unhide . 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
Why don't I see the unhide row ? Nhat Excel Discussion (Misc queries) 1 November 1st 06 10:58 AM
Trying to unhide A-K srdowning Excel Discussion (Misc queries) 10 October 5th 06 06:31 PM
How do I unhide the first row (row 1)? working in the sunshine Excel Discussion (Misc queries) 3 July 20th 06 10:13 PM
how do i unhide a worksheet in excel 2003? unhide tab don't work mikekeat Excel Discussion (Misc queries) 2 March 6th 06 03:36 AM
How do I unhide a column when format/column/unhide won't work lincolnblaze Excel Worksheet Functions 1 December 14th 05 03:38 AM


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