+ Reply to Thread
Results 1 to 12 of 12

Chart - Do Not Show Drop Off

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Question Chart - Do Not Show Drop Off

    Hi

    Creating a Burn Up Chart

    In attached example - I do not want to see Gold Color "Drop Off" if week has not occurred yet

    In my table, I also have function to not show "$0.00" or appear blank

    Appears the chart still "sees" this as $0.00 and shows "Drop Off"

    Thanks
    Attached Files Attached Files
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Chart - Do Not Show Drop Off

    Have you considered a dynamic range name that covers just weeks with any values and using the range name for the chart?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Chart - Do Not Show Drop Off

    Richard

    If I'm correct, using dynamic range name is still a manual range selection which will require me or user to adjust range on a week to week basis.

    Additionally, the line still "drops off"

    If not correct - Interested to learn how to use

    Thanks

  4. #4
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Chart - Do Not Show Drop Off

    Hi Group

    Saw this question asked in the past but don't recall when

    I think it was a relatively simple solution


    More importantly... Appreciate some assistance

    Thanks

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Chart - Do Not Show Drop Off

    My first thought (because I am using LO Calc on this computer and not Excel) -- are you required to use Excel for this? I observe that, opened in LO Calc with no further edits, that there is no drop off for the gold series. LO Calc's chart engine ignores the empty string cells in charting the series.

    I know Excel's chart engine has long treated any text (and all errors except N/A) as if they were the value 0. The Excel based solution to this problem is usually to replace any text (including empty string) with NA() so that Excel will ignore that data point in a line chart. More in depth discussion in this essay: https://peltiertech.com/mind-the-gap...g-empty-cells/
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  6. #6
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Chart - Do Not Show Drop Off

    Hi MrShorty

    Thanks for answering

    Not sure what you mean by LO Calc

    If modify my function to: =IF(B48>$B$43,NA(),G47+E48) - Get desired graphical results where "drop off" no longer appears

    However, now have " #N/A " in table where I rather see blank content when week has not begun

    Is there way to have blank data or not show $0.00 in table & still NOT have "Drop Off" (gold bar)?
    Last edited by mycon73; 11-21-2021 at 05:37 PM.

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Chart - Do Not Show Drop Off

    LO Calc is Libre Office's spreadsheet program.

    I see two, maybe three ways to do this:

    1) As mentioned by others, use dynamic named ranges for the data series (https://chandoo.org/wp/dynamic-chart-data-series/ )
    2) Use the N/A error, then use some kind of conditional formatting to "hide" the N/A text (conditional format using formula like =ISERROR(A1) and have the conditional format match font color to background color when true)
    3) Have two copies of the table -- one where you have the formula return "" that you and others will look at. Have a second copy that only the chart can see where the "" are replaced with N/A.

    Or, as I've also suggested, use a spreadsheet program whose chart engine knows how to ignore text rather than chart as 0.

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Chart - Do Not Show Drop Off

    Quote Originally Posted by mycon73 View Post
    Richard

    If I'm correct, using dynamic range name is still a manual range selection which will require me or user to adjust range on a week to week basis.

    Additionally, the line still "drops off"

    If not correct - Interested to learn how to use

    Thanks
    I seem to remember that for a client a few years ago I incorporated a simple VBA event macro that recreated the chart ranges, probably the sheet activate event for the sheet containing the chart.

  9. #9
    Forum Contributor
    Join Date
    10-14-2020
    Location
    Shanghai
    MS-Off Ver
    O365
    Posts
    156

    Re: Chart - Do Not Show Drop Off

    HI

    for the chart just replace the formula from
    HTML Code: 
    to
    HTML Code: 
    this will skip the NA values in the chart.
    To hide the NA in the table, use conditional format to hide them

  10. #10
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Chart - Do Not Show Drop Off

    Hi MrShorty, Richard Buttrey and hansolu

    Thanks for the great feedback & tips

    hansolu

    Trying to use, =IF(B48>$B$43,NA(),G47+E48)

    What and Why is B] used? Am I supposed to replace this with something?
    Last edited by mycon73; 11-22-2021 at 11:56 PM.

  11. #11
    Forum Contributor
    Join Date
    10-14-2020
    Location
    Shanghai
    MS-Off Ver
    O365
    Posts
    156

    Re: Chart - Do Not Show Drop Off

    Hi

    [B] was just to highlight the change of the formula, went something wrong in the format.

    =IF(B48>$B$43,NA(),G47+E48) is correct and should work

  12. #12
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Chart - Do Not Show Drop Off

    You can always use conditional formatting to hide the error values if required.
    Rory

+ 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: 5
    Last Post: 04-15-2021, 05:36 PM
  2. [SOLVED] A button to show and not show a chart
    By Tresfjording in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-08-2020, 07:46 AM
  3. [SOLVED] How to create line chart with bar chart combo to show for deviation
    By method90 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-16-2019, 11:05 AM
  4. Replies: 11
    Last Post: 03-22-2018, 03:54 AM
  5. Create stacked chart to show progress or drop
    By smsmworld in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-04-2016, 07:55 PM
  6. Replies: 2
    Last Post: 03-11-2013, 02:22 PM
  7. Replies: 0
    Last Post: 06-15-2011, 10:36 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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1