#1   Report Post  
Posted to microsoft.public.excel.misc
Therese
 
Posts: n/a
Default Hide rows if "0"

I have some data linked from spreadsheet B to spreadsheet A in the same
workbook. Sometimes the numbers show, sometimes they don't depending on the
results on spreadsheet B. Now I'd like to hide the rows automatically on
spreadsheet A if the result is "0". Is this possible at all, and if so - how.
Thanks in advance
--
Therese
  #2   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default Hide rows if "0"

Two possibilities. First, you can embed the link inside a formula to detect
a blank cell and replace it with a blank rather than bring back a 0: instead
of =SheetB!A1, use =if(isblank(SheetB!A1),"",SheetB!A1).
Second, you could simply use a filter. Select the table on sheet A. From
the menu bar, Data Filter Autofilter. Use the drop-down in the
appropriate column and select 'Custom'. Use the drop-downs in that dialog to
select 'does not equal' 0. When you click OK, those rows that had 0 in the
selected column will be hidden.
Is that what you're looking for? --Bruce

"Therese" wrote:

I have some data linked from spreadsheet B to spreadsheet A in the same
workbook. Sometimes the numbers show, sometimes they don't depending on the
results on spreadsheet B. Now I'd like to hide the rows automatically on
spreadsheet A if the result is "0". Is this possible at all, and if so - how.
Thanks in advance
--
Therese

  #3   Report Post  
Posted to microsoft.public.excel.misc
Therese
 
Posts: n/a
Default Hide rows if "0"

HI Bruce-Thanks
I tried: if(SheetB!=0;"";SheetB!)(Don't know the"is blank-command" in
danish, so guess it's just like I wrote.) But it doesn't really help. I want
the things that aren't payed to show on sheet A, so there'll be a list. But
as the results on sheet B turns to "0", the numbers on Sheet A will
dissappear. But the list is long, and I just hoped there was a way for the
list to be shorter, so that the rows wich are empty would dissappear, or not
show. Guess it's just not possible to actually delete the rows.
But thanks - it works fine with the autofilter. :-)
--
Therese


"bpeltzer" skrev:

Two possibilities. First, you can embed the link inside a formula to detect
a blank cell and replace it with a blank rather than bring back a 0: instead
of =SheetB!A1, use =if(isblank(SheetB!A1),"",SheetB!A1).
Second, you could simply use a filter. Select the table on sheet A. From
the menu bar, Data Filter Autofilter. Use the drop-down in the
appropriate column and select 'Custom'. Use the drop-downs in that dialog to
select 'does not equal' 0. When you click OK, those rows that had 0 in the
selected column will be hidden.
Is that what you're looking for? --Bruce

"Therese" wrote:

I have some data linked from spreadsheet B to spreadsheet A in the same
workbook. Sometimes the numbers show, sometimes they don't depending on the
results on spreadsheet B. Now I'd like to hide the rows automatically on
spreadsheet A if the result is "0". Is this possible at all, and if so - how.
Thanks in advance
--
Therese

  #4   Report Post  
Posted to microsoft.public.excel.misc
Therese
 
Posts: n/a
Default Hide rows if "0"

Hey Bruce: Perfect!! :-)
--
Therese


"bpeltzer" skrev:

Two possibilities. First, you can embed the link inside a formula to detect
a blank cell and replace it with a blank rather than bring back a 0: instead
of =SheetB!A1, use =if(isblank(SheetB!A1),"",SheetB!A1).
Second, you could simply use a filter. Select the table on sheet A. From
the menu bar, Data Filter Autofilter. Use the drop-down in the
appropriate column and select 'Custom'. Use the drop-downs in that dialog to
select 'does not equal' 0. When you click OK, those rows that had 0 in the
selected column will be hidden.
Is that what you're looking for? --Bruce

"Therese" wrote:

I have some data linked from spreadsheet B to spreadsheet A in the same
workbook. Sometimes the numbers show, sometimes they don't depending on the
results on spreadsheet B. Now I'd like to hide the rows automatically on
spreadsheet A if the result is "0". Is this possible at all, and if so - how.
Thanks in advance
--
Therese

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
What is the quickest way to hide a lot of rows and colums ? Stephen Tyrrell Excel Discussion (Misc queries) 2 August 19th 05 08:20 AM
how to hide rows in a protected sheet Prakash Excel Worksheet Functions 7 January 18th 05 02:42 PM
Why can't I show or hide rows in an outline on a protected sheet? rwlass Excel Discussion (Misc queries) 1 December 9th 04 04:38 PM
AUTO HIDE ROWS Alan Excel Worksheet Functions 1 November 27th 04 09:13 AM
Excel - if cells = 0, how to conditionally hide rows in chart fineimage Excel Worksheet Functions 1 November 11th 04 09:45 PM


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