+ Reply to Thread
Results 1 to 3 of 3

Adding points to line chart to indicate an event in the data set, based off a condition?

  1. #1
    Registered User
    Join Date
    10-28-2020
    Location
    Canada
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO 16.0.13231.20372 64-bit
    Posts
    5

    Adding points to line chart to indicate an event in the data set, based off a condition?

    Hello,

    I have a historical data set plotted on a line chart (2011-2021), with a primary and secondary y-axis. Every x amount of data points (x not fixed), both of the y-values go to zero, indicating a "shut-in" occurring at that specific date.

    Every time a shut-in occurs, I want to annotate this on the plot, whether it be through a data label "shut-in", or adding points on the plot (circle/square/diamond..etc. - doesn't matter), with that point being added to the legend to indicate it's representation.

    Is there a way of doing this efficiently? I have a very large data set and it would be tedious/ineffective to do this manually.

    See attached excel example for reference.
    Thanks,

    K
    Attached Files Attached Files
    Last edited by knor98; 01-28-2021 at 07:33 PM.

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

    Re: Adding points to line chart to indicate an event in the data set, based off a conditio

    The first thing that came to mind is a technique like this (https://peltiertech.com/Excel/Charts/FormatMinMax.html ) where you add another data series with the values for the "shut-in" data only (a bunch of N/A for the other points), then format this new data series as desired. The tutorial appears to have been written for Excel 2003, so some of the commands may be in different places, but the basic idea should work.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    10-28-2020
    Location
    Canada
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO 16.0.13231.20372 64-bit
    Posts
    5

    Re: Adding points to line chart to indicate an event in the data set, based off a conditio

    That worked! Thanks for the tip

+ 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. Trying to extend line past data points on chart
    By zaid818 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-26-2020, 02:24 PM
  2. Connect data points from 2 series in line chart
    By henr in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-03-2019, 06:57 PM
  3. Connect/disconnect separate data points in line chart?
    By goldfrapp01 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-02-2013, 07:21 AM
  4. Change distribution of data points on line chart?
    By 4am in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-19-2011, 06:23 AM
  5. [SOLVED] Combination Bar/Line chart---each with different number of data points
    By Mr Jones in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-17-2006, 01:50 PM
  6. Joining data points on a line chart
    By JCW173 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-26-2006, 08:40 AM
  7. [SOLVED] Formatting lines between data points in a line chart
    By ltanner in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-13-2005, 02:07 AM

Tags for this Thread

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