How do I write a custom format to make a negative percentage red

M

Melissa

I need to write a custom format that will make a negative percentage number
red but keep the positive numbers black.
 
M

merjet

You don't need a custom format. Use the menu Format | Conditional
Formatting.

Merjet
 
D

Dave Peterson

You could also use the builtin numberformat:

0.00%;[Red]0.00%;0.00%;@
or
0.00%;[Red]-0.00%;0.00%;@

positive;negative;0;text
 

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