+ Reply to Thread
Results 1 to 7 of 7

Not Show Hidden Rows in Column Chart?

  1. #1
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    Not Show Hidden Rows in Column Chart?

    I have Excel 2003.

    In past versions I was able to hide rows and the resulting column chart would not display the data point that was hidden.

    My horizontal axis is made up of dates and the vertical axis is the value.

    What do I need to do to force the column chart to not "skip" for the dates that have no data?
    Thanks!
    Dennis

    I am using Windows 7 and Office 2007, all of my posts are based on this.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436
    Select the chart. And then uncheck Tools > Options > Chart > Plot visible cells only
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    Thanks for the tip, But!

    This didn't seem to work for me.

    I added another column and used the formula
    Please Login or Register  to view this content.
    and copied it down. Then changed the series category to reflect this new column.

    Now, there are no gaps in the chart.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436
    difficult to tell what you have done without an example.

  5. #5
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    Attaching Slimmed-Down Workbook

    Had to copy the workbook, and copy > paste values of the linked formulas to get down below the size limit for attachments, but here is the essence of one of the charts and what I have done.

    We only want to show the same date between the two years if both dates had production; thus the formulas in columns G & H.

    Column B was inserted as a helper column to avoid gaps in the columns of the chart.
    Attached Files Attached Files

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436
    The reason it did not exclude the rows is because they are not empty.

    Cells with formula are not empty as far as charts are concerned. The best you can do is use NA() instread of the 0 in your formula. This only makes the chart interpolate between valid points. In a line chart this means markers are not displayed. In a column chart it really has no effect on the number of categories display but instead sets the column value to zero.

    Rather than a macro you could just use Autofilter.

  7. #7
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    Thanks Again!!

    Good Tip on the autofilter. I had not thought of that.

    I will not be the one maintaining the workbook and was unsure of the expertise of the final user, so wanted to make it as easy for them as possible to only plot the "same day production".

    I am also thinking of using some named dynamic ranges to limit how many actual data points will be displayed to the last 30 to 60...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1