Solved

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

Posted on 2011-02-25
3
447 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

738 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