How to hide columns or rows in excel but still keep the data in a chart showing

Anonymous
2023-01-11T11:20:39+00:00

Hi,

I have set up some charts in excel now I want to hide the rows / columns where the original data sites so that people can just see the charts however whenever I hide these the data in the chart disappears.

I have googled how to do this and it's telling me to select the data, and press the button that says hidden and empty cells. I done this where the cells are not yet hidden and after I have hidden then however this button still stays blocked out and unable to select.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} vote

7 answers

Sort by: Most helpful
  1. riny 20,530 Reputation points Volunteer Moderator
    2023-01-11T11:25:42+00:00

    The easiest way to fix that is to create your charts in one sheet based on data in another and then hide that data sheet. The charts will still show.

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-01-11T12:38:25+00:00

    thanks, any other way as I've already created into one tab and its a live document that over 30 people are using daily so don't want to pause their work to add more tabs.

    1 person found this answer helpful.
    0 comments No comments
  3. riny 20,530 Reputation points Volunteer Moderator
    2023-01-11T12:42:38+00:00

    Can't think of a better way, to be honest.

    0 comments No comments
  4. Anonymous
    2023-01-11T15:17:09+00:00

    right-click the chart and choose Select Data:

    Image

    in the next dialogue box choose Hidden and Empty Cells

    Image

    then in the next dialogue tick the Show data in hidden rows and columns box:

    Image

    23 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-01-11T15:58:54+00:00

    Hi p45cal,

    that's the way i normally do it however that hidden and empty cells button it will not let me select it, it's greyed out

    1 person found this answer helpful.
    0 comments No comments