Link to home
Start Free TrialLog in
Avatar of newparadigmz
newparadigmzFlag for United States of America

asked on

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

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?
ASKER CERTIFIED SOLUTION
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of newparadigmz

ASKER

I don't know how to do this, but it sounds right. thanks
Upload a sample file and I can add it for you.
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
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?