+ Reply to Thread
Results 1 to 5 of 5

Add a Target Line Straight Across Excel Chart

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Massachusetts,US
    MS-Off Ver
    Excel 2010
    Posts
    44

    Add a Target Line Straight Across Excel Chart

    Hello Everyone,

    Thank you for taking the time to look at this problem I'm trying to solve. I want to add a Target line that stretches across the entire chart, for a goal of $12,850,000, but I can't seem to figure it out. Any ideas would be great.

    Thanks Again,
    George
    Attached Files Attached Files

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

    Re: Add a Target Line Straight Across Excel Chart

    My first suggestion would be to use one of the techniques discussed here: https://peltiertech.com/Excel/Charts/AddLine.html
    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
    07-11-2012
    Location
    Massachusetts,US
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Add a Target Line Straight Across Excel Chart

    I tried something similar to this but it doesn't work because I'm only using 3 values from 3 separate data sources, instead of one data table.

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

    Re: Add a Target Line Straight Across Excel Chart

    I obviously don't know what you tried, but I had no trouble adding the horizontal line by either method. When the horizontal line series is converted to an XY scatter chart type, then it mostly ignores what the other column data series are doing. How carefully did you follow Peltier's instructions? What did you do differently?

    As a gross oversimplification of Peltier's instructions, I performed the following steps in your file:

    1) Select the chart -> Bring up the Select data dialog -> Add a data series -> For the Values field, click on B1 -> click OK until the Select data dialog is dismissed.
    2) Select the single column of the new data series -> Change chart type -> one of the XY scatter chart types
    3) Select the new XY scatter series -> Layout -> add error bars
    4) Select the vertical error bars and delete them
    5) Select the horizontal error bars and format them as desired.
    6) If desired, select the new XY scatter series and format to have no marker.

    I'm not sure what you tried before, but that should work. If it doesn't, let us know where it goes wrong and which step you have trouble with.

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Add a Target Line Straight Across Excel Chart

    It doesn't matter how your existing data is organized, you just need to add two data points and create another line, making it a combination chart.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. [SOLVED] Having stock chart to draw many individual straight line
    By DavidRoger in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 12-23-2013, 10:03 PM
  2. [SOLVED] straight line connecting first and last point on a chart
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2013, 06:42 AM
  3. Having stock chart to draw many individual straight line
    By DavidRoger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-17-2013, 08:21 AM
  4. Straight Line and Trendline Chart together
    By sakmsb in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-24-2013, 05:25 AM
  5. adding target line to excel chart
    By sandia22 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 01-28-2013, 11:34 AM
  6. Replies: 1
    Last Post: 12-31-2012, 05:31 AM
  7. Adding a straight line current price indicator in VOHLC Chart?
    By naira in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-11-2012, 11:59 AM
  8. Straight Average Line on Line Chart
    By miked79 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-11-2008, 12:00 PM

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