Solved

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

Posted on 2012-03-13
5
259 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
  • 3
  • 2
5 Comments
 
LVL 31

Accepted Solution

by:
Rob Henson earned 500 total points
Comment Utility
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
Comment Utility
I don't know how to do this, but it sounds right. thanks
0
 
LVL 31

Expert Comment

by:Rob Henson
Comment Utility
Upload a sample file and I can add it for you.
0
 
LVL 31

Expert Comment

by:Rob Henson
Comment Utility
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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

762 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

12 Experts available now in Live!

Get 1:1 Help Now