+ Reply to Thread
Results 1 to 5 of 5

Problem in ignoring error or blank cell in line chart

  1. #1
    Registered User
    Join Date
    03-26-2015
    Location
    Honiara
    MS-Off Ver
    2016
    Posts
    11

    Problem in ignoring error or blank cell in line chart

    whatsup guys..

    the line chart i tried to do should be in the way to ignore or avoid the line to further plotting if the table data is shown blank or error.

    i've been tyring 2 methods but all are not the best outcome..

    please find the jpg file in the work sheet which is the line chart i want it to be shown.

    thanks all in advance for the help !
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,272

    Re: Problem in ignoring error or blank cell in line chart

    Are you still using Excel 2007? If not, please update your user profile here.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    03-26-2015
    Location
    Honiara
    MS-Off Ver
    2016
    Posts
    11

    Re: Problem in ignoring error or blank cell in line chart

    Done. thank for the remind!

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    12,543

    Re: Problem in ignoring error or blank cell in line chart

    I cannot test and debug in my older version of Excel. Read through this https://peltiertech.com/plot-blank-c...-excel-charts/ and make sure you have the "show #N/A as an empty cell" option checked and then make sure that you have returned N/A and 0 in the appropriate places in the source data. It looks like it should work just fine if you get the right option selected and the right values returned to the spreadsheet.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2010/2019
    Posts
    10,654

    Re: Problem in ignoring error or blank cell in line chart

    Using the instructions in the link MrShorty provided, both sets of data produced new graphs like the one in the .jpg
    Note that the NA()'s are removed from the year cells in the top set of data.
    I noticed the "Hidden and Empty Cells" options for Gaps and Connect data points were grayed out when I accessed Select Data Source dialog box from the existing graphs.
    It may be that there is still a difference in the way the versions produce charts as I only have the 2019 version with which to test.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 04-22-2019, 01:59 AM
  2. Chart ignoring whole row when first cell is blank
    By Reillob in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2017, 09:49 AM
  3. Help with ignoring blank cells when drawing a column chart
    By Iibboh in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-13-2012, 04:24 PM
  4. Ignoring Blank Cells in a Chart
    By avidcat in forum Excel General
    Replies: 2
    Last Post: 10-02-2010, 06:48 AM
  5. Chart ignoring blank cells with function
    By patphilly in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 06-01-2010, 01:27 PM
  6. Ignoring blank cells in chart
    By FM1 in forum Excel General
    Replies: 4
    Last Post: 02-17-2010, 12:18 PM
  7. Line Chart Question - break in line for blank cells
    By JonPugh in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 12-09-2009, 09:39 AM

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