+ Reply to Thread
Results 1 to 2 of 2

create a line in a chart

  1. #1
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2013
    Posts
    137

    create a line in a chart

    Hi
    Charts are very hard for me. Here's a thing that I woukd wish to do:

    Is there a way via general or vba to create a vertical line in a line chart that could show the moment when data stay constant?
    I dont know if I´m explaining the issue correctly.
    If you please, see the attached file.

    Thank you very much.
    Ioncila
    Attached Files Attached Files

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

    Re: create a line in a chart

    You can use a dummy series on the secondary axis with only 1 displayed data point.
    Add 100% minus Y error bar to draw the vertical line.

    I did not know whether the constant point was manually defined or to be determined by formula.

    I used formula to determine duplicate columns of data. Another to determine 3 consecutive repeats. And a final formula, used to plot the series, which identifies the first point of constant data.

    To do it manually simply put a 1 in the month that should be marked with the vertical line.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ 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