Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

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?
0
newparadigmz
Asked:
newparadigmz
  • 3
  • 2
1 Solution
 
Rob HensonIT & Database AssistantCommented:
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
 
newparadigmzAuthor Commented:
I don't know how to do this, but it sounds right. thanks
0
 
Rob HensonIT & Database AssistantCommented:
Upload a sample file and I can add it for you.
0
 
Rob HensonIT & Database AssistantCommented:
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
 
newparadigmzAuthor Commented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now