?
Solved

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

Posted on 2012-03-13
5
Medium Priority
?
299 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 1500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

752 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