+ Reply to Thread
Results 1 to 10 of 10

Column Chart displaying blank columns

  1. #1
    Registered User
    Join Date
    06-16-2012
    Location
    toronto, canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Column Chart displaying blank columns

    Sample data set:

    January February March
    Speed 1 2 3
    Run <blank> <blank> 4


    How do I prevent <blank> columns from showing in column chart?

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Column Chart displaying blank columns

    Hi excelchallenge,

    Welcome to the forum.

    You can use =if(isblank(.... ) function in your data set... or you can use =na() ...
    If this is not as what you are looking for... suggest you to upload the excelworkbook.. thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Column Chart displaying blank columns

    How exactly do the empty cells show in the column chart?

    Dilipandey, how exactly is Isblank() going to help here? If a cell is blank, then it won't show in the chart. If you manipulate it with formulas, it will only get worse, not better. I wish you would back up your suggestion with a concrete example on what exactly to do.
    Last edited by npamcpp; 06-17-2012 at 05:29 AM.
    Like a post? Click the star below it!

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Column Chart displaying blank columns

    Hi ExcelChallenge,

    Below I have explained use of Isblank and NA() while doing charts..
    Isblank & NA use in chart.xlsx

    I visualize excel better than beer

    If this is not helpful, suggest you to upload your excel workbook to help me understand better

    cheers

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Column Chart displaying blank columns

    The use of NA() in the data source of a chart only suppresses the data marker in a line chart. The points either side of cell(s) with NA() will have the line interpolated.

    For column charts the column will be treated as zero but the space for the column will remain. The only way to get zero columns removed from the chart is to remove them from the data source. This can be done with dynamic named ranges IF the data is sorted.
    Cheers
    Andy
    www.andypope.info

  6. #6
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Column Chart displaying blank columns

    dilipandey, the title of the thread, and the question is about a column chart, not a line chart. Andy has it nailed.

  7. #7
    Registered User
    Join Date
    06-16-2012
    Location
    toronto, canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Column Chart displaying blank columns

    I greatly appreciate the willingness to help. Attached please find spreadsheet. Any tips on how not to have blank / empty column in chart for Score 4 from December to February?


    Thanks
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Column Chart displaying blank columns

    The chart shows five data series as a clustered column chart. Each cluster (month) has slots for each of the five values. If the underlying cells are blank, zero or NA, then no column will be plotted.

    I don't think that you can have a chart where clusters have variable numbers of columns.

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Column Chart displaying blank columns

    You can alter the layout of your chart data.

    But I think it maybe confusing to see Score 4 removed from first few months of data.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-16-2012
    Location
    toronto, canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Column Chart displaying blank columns

    Thank you!

+ 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