Solved

How do you just show selected gridlines in an Excel Chart?

Posted on 2012-03-13
5
291 Views
Last Modified: 2012-03-30
For data points 1, 2, 3, 4, 5, 6, a chart would show major horizontal gridlines in increments of one.

But lets say I now have data points of 1, 2, 3, 3.37, 4, 5, 6.

How can I show the Major lines in increments of one but also just one horizontal line for that 3.37 data point?
0
Comment
Question by:newparadigmz
[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
  • 3
  • 2
5 Comments
 
LVL 33

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 37716334
You can force an extra series into the graph with a horizontal line that represents the required value.

For example if you have data for a particular series and you also want to show a "Target" line you would include an extra series with the target line being one row of data of the same values.

Thanks
Rob H
0
 

Author Closing Comment

by:newparadigmz
ID: 37778710
I don't know how to do this, but it sounds right. thanks
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 37778836
Upload a sample file and I can add it for you.
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 37781808
See attached!

Basic sample/random data with extra data line for Target.

Graph is then set:
x-axis format - Scale tab - Value (y) axis crosses between categories - not ticked. This makes lines go all way across plot area rather than leaving gaps at start and finish.
Target line formatted in same manner as Gridline so looks like grid.
Click on data series line, then click on marker for first data point, other data points should disappear, right click and choose format data point. On Data labels tab, tick Label contains Values, click OK. The 3.7 appears on the line. Click on the 3.7 and it can be formatted to match the y axis and dragged to the side so it appears to be in the axis range.

Hope this is OK.

Cheers
Rob
Graph-with-target-line.xls
0
 

Author Comment

by:newparadigmz
ID: 37786941
This is almost what I need.

What I really wanted to do was highlight outliers within the data set.

So instead of Target being a completely different data set, lets say the data point for July, South was 3.7, while everything else was as-is (whole numbers).

Can you then make the line for 3.7 exactly as you did?
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

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…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
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…

726 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