ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   How do I apply conditional formatting to axis labels? (https://www.excelbanter.com/charts-charting-excel/224282-how-do-i-apply-conditional-formatting-axis-labels.html)

erwatt

How do I apply conditional formatting to axis labels?
 
I would like to apply conditional formatting to my horizontal axis based on
the value of that data point. If the value exceeds a threshold it would cause
the category axis label for that point to change font, color, etc.
or
I would like to apply conditional formating to a series based on the value
of the data point in the series. If the value excedds a threshold it would
cause the bar (bar graph) for that point to be different from the others.

Shane Devenshire

How do I apply conditional formatting to axis labels?
 
Axis labels are treated as a unit, you can't format individual labels.

You could set up a dummy axis and use VBA to control its formatting. You
can see samples at Jon Poltier's website of dummy axes.

http://peltiertech.com/Excel/Charts/

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"erwatt" wrote:

I would like to apply conditional formatting to my horizontal axis based on
the value of that data point. If the value exceeds a threshold it would cause
the category axis label for that point to change font, color, etc.
or
I would like to apply conditional formating to a series based on the value
of the data point in the series. If the value excedds a threshold it would
cause the bar (bar graph) for that point to be different from the others.



All times are GMT +1. The time now is 12:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com