Custom Value Axis

M

Maureen D.

How do I replace only one value to text on the Value Axis? (i.e., -20, -10,
TEXT, 10, 20)etc.
 
J

Jon Peltier

This one's pretty straightforward, and you can use a custom number format. It works
for numbers anywhere, not just in a chart.

Custom number formats have four components, for positive numbers, negative numbers,
zero, and text, separated by semicolons. To replace zero with some label, use this:

0;-0;"TEXT";@

Double click on the axis, select the Number tab, select Custom on the left, and
enter that code above into the box.

If the value you want to replace is not zero, you can override the normal
components. Say you want the value 3 to be different, use:

[=3]"TEXT"

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top