Solved

Draw horizontal line in a line chart with a single cell value

Posted on 2011-02-25
3
439 Views
Last Modified: 2012-06-21
Hi,

I would like to use a line chart to create a horizontal line from the same cell value. The only way I can figure out how to do this is to place the same value in many rows and select them as the line charts series. It works but it's cumbersome and I don't like the idea of a whole column dedicated to a redundant value that is in another cell.

Is there a way to tell a line chart to use a single value for x series?

Thanks
0
Comment
Question by:waffe
  • 2
3 Comments
 
LVL 50

Accepted Solution

by:
teylyn earned 250 total points
ID: 34985591
Hello,

You only need data in the first and last data point for the line, then set the series to connect empty data points with a line.


Or you could use a XY chart on the secondary axis. See attached for both versions.

cheers, teylyn


Book7.xlsx
0
 
LVL 50

Expert Comment

by:teylyn
ID: 34985593
If you use a XY Scatter chart instead of a line chart, you could also use a single data point with horizontal error bars to draw the line.

0
 

Author Closing Comment

by:waffe
ID: 34987971
The concept of two graphs one on top of the other works very well. I could not get the graphs to read the series with only two values one at the beginning and one at the end even though you have it in the example you uploaded I could never get it to work. So I just have the complete column full of the the same value - sloppy but it works.

Thanks!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now