Color text based on value

  • Thread starter Thread starter dvonj
  • Start date Start date
D

dvonj

I'm using a great per-built Budget form but need to make some changes for it
to work the way we need it to. There is a column that displays the
difference between the actual amount spent and the budgeted amount. I would
like for this column to display red text if the value is minus(over budget)
and blue text if the value is positive(under budget).

Is there a macro or something I can use to make this work?
 
You could use conditional formating. Highlight the column and then click
Format --> Conditional Formatting. If you have problems from there, let me
know.

Hope this helps.

Magnivy
 
Works like a charm. Found out we also need for it to stay the same if the
returned value is zero (on target) so with conditional formatting we get
exactly what we want. Red for over budget, Blue for under budget and black
if we are on target.

Thanks for the tip.
 

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

Similar Threads

color coding values 1
colors change in graphic 1
Worksheet_Change help please 3
Logical Formula 4
CORRECTION NEEDED 2
MACRO IS NOT COMPLETE 2
COMBINE TWO MACROS INTO ONE 10
Update Links after Closing Linked File 1

Back
Top