How do I change the colour of just one grid line in an excel chart?

Daniellel

Board Regular
Joined
Jun 21, 2011
Messages
242
In a bar chart I've created on excel I need to colour just one specific horizontal gridline. For example the gridlines show at every 10%, I need to colour the 70% gridline in red. I know how to colour them all, but it's just the one specific gridline I need to change!

Here is one way i tryed to do it:
1. Format the axis and set Major unit to .7, and Minor unit to .1, and OK
2. Chart -> Chart Options -> Gridlines tab: both Major and Minor gridlines are checked
3. Format the Major Gridlines (e.g. at 70%), separately from the Minor ones: Select the 70% grid line and Format it.

However this will only show a y-axis label at 70%, which is a problem for me, I need to show all labels.

I also tried to just draw a line across 70% but as my chart is connected to a pivot table the grid keeps changing sizes and therefore the 70% line is hardly ever at 70%!

Any help appreciated!
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Thank you for this but i dont think it is what I need? I just want the 70% gridline highlighted to easily show where the target is?
 
Upvote 0
Sorry, it's not possible to change the properties of a single gridline. You will need to plot a line on the chart.
 
Upvote 0

Forum statistics

Threads
1,203,064
Messages
6,053,320
Members
444,653
Latest member
Curdood

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top