• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8699
  • Last Modified:

Insert horizontal target line in Line chart - Excel

I have the following data set (sample) with scores for A, B, and C. I've created a Line chart using this data. I now need to add a horizontal target line that spans the chart, using the value in the Goal column. I've tried the approach of creating a chart with all values, then selecting the Goal value and changing the Series Chart Type. This is not working, as it's changing the entire chart. Any help would be appreciated. Thanks in advance.

Measure      A      B       C      Goal
C01              51      55      60      50
3 Solutions
mebaby333It AdminCommented:
You can display 2 series of data on the same line chart.   The first series would be called Scores and would only contain the score data.  The second series would be Goal and would contain the goal values.  

The easiest way to make the extent of the "Goal" line to be the same as the "Score" line is to simply repeat the Goal value the same number of times as you have Score values.  I know that is a kludge but it is easy and the chart looks nice that way.
helpfinderIT ConsultantCommented:
you can use the Goal value as secondary value - check my sample
oops! late to the answer party!!!! haha...

Make Goal for each 'C##' pattern  its own series of numbers... so A,B,C would have values of 50

so maybe add 2 columns and repeat in 50 (or whatever value) in new columns then
Create 2 graph series
Graph #1 would be series for ABC
Graph #2 would be series for G1, G2, G3

Measure, A,    B,   C, G1, G2, G3
 C01,   51,51,60, 50, 50, 50
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now