Solved

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

Posted on 2011-02-25
3
442 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:
Ingeborg Hawighorst 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:Ingeborg Hawighorst
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
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…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

777 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