Office & Productivity Software forum

General discussion

Excel: graph disappears when hiding data

by Kees Bakker / March 5, 2007 6:14 PM PST

I tried in both in MS Excel (2000, XP) and in OpenOffice Calc (2.0), and they are truly compatible.

Have a row of data, and a graph based on that data in the same worksheet. Hide the row of data (the manager the sheet is sent to wants to see the graph and isn't interested in the exact data) and the graph becomes blank. Unhide the data: graph appears. Tried something else: set the row height to some small value (default is 12.75whatever in Excel, .45cm in Calc). Graph disappears when making row height 0 (equivalent to hiding) or .5; graph appears if I make the row height .75. Calc does the same, but - of course - at different absolute values of the row height.

I always thought that row height or hiding only had to do with showing the row on the screen, and wouldn't affect any calculations of graphs based on the data. That turns out to be wrong. Calculations aren't affected, but graphs are.

I can't see much justification for this behaviour. But obviously, someone at Microsoft and Sun found it logical enough ("of course, the graph disappears, what else") to specify, program and test it. Anybody to convince me how reasonable this behavior is?

Kees

Post a reply
Discussion is locked
You are posting a reply to: Excel: graph disappears when hiding data
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Excel: graph disappears when hiding data
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
How we dealt with that.
by R. Proffitt Forum moderator / March 5, 2007 9:52 PM PST

The data and such was on one sheet, graphs on another. It was a poorman's version of typesetting but it got the effect we wanted.

Bob

Collapse -
The slightly obscure solution is...
by richardp123 / March 5, 2007 10:30 PM PST

For Excel, click to select the graph object and go to Tools>Options>Chart, then de-select the option "Plot visible cells only" and click OK - this should ensure that hidden rows/columns are included in the graph source data.

Now, why they couldn't have put this option in one of the Chart Source Data dialog, I have no idea :^)

Collapse -
Well !!
by MarkFlax Forum moderator / March 6, 2007 6:26 AM PST

I learn something new everyday, Happy

First I never knew of Kees' problem until his post, (I know it's not really a problem, just an apparent anomaly), then the reason for that option in the Chart tab. I never quite understood it before now.

Many thanks to you both.

Mark

Collapse -
(NT) Thanks Richard. My colleague is very grateful.
by Kees Bakker / March 6, 2007 3:52 PM PST
Popular Forums
icon
Computer Help 49,613 discussions
icon
Computer Newbies 10,349 discussions
icon
Laptops 19,436 discussions
icon
Security 30,426 discussions
icon
TVs & Home Theaters 20,308 discussions
icon
Windows 10 360 discussions
icon
Phones 15,802 discussions
icon
Windows 7 7,351 discussions
icon
Networking & Wireless 14,641 discussions

Tech explained

Do you know what an OLED TV is?

CNET explains how OLED technology differs from regular TVs, and what you need to know to make the right shopping decision.