Excel change font color in formula

I need the following formula to show in RED if it is a negative number.

="Budget Variance For Capital Project = "&TEXT('SSG 2017 Orders'!AY2,"[$$ -409]#,##0.00")
ssblueAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ShumsDistinguished Expert - 2017Commented:
Try below:
="Budget Variance For Capital Project = "&TEXT('SSG 2017 Orders'!AY2,"#,##0_ ;[Red]-#,##0 ")

Open in new window

0
ssblueAuthor Commented:
Nope and it took away the dollar sign.
0
ShumsDistinguished Expert - 2017Commented:
Try below:
="Budget Variance For Capital Project = "&TEXT('SSG 2017 Orders'!AY2,"[$$-409]#,##0.00_ ;[Red]-[$$-409]#,##0.00 ")

Open in new window

0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

ssblueAuthor Commented:
Sorry, got the dollar sign back but no red font.
0
ShumsDistinguished Expert - 2017Commented:
OK try this:
="Budget Variance For Capital Project = "&TEXT('SSG 2017 Orders'!AY2,"$ #,##0.00;[Red]-$ #,##0.00")
0
ssblueAuthor Commented:
Still not turning red????
0
ShumsDistinguished Expert - 2017Commented:
Do not use text function, just use your normal formula:
="Budget Variance For Capital Project = "&'SSG 2017 Orders'!AY2
Then Format Cell to [$$-409]#,##0.00_ ;[Red]-[$$-409]#,##0.00
0
ssblueAuthor Commented:
That's not working either.
0
ShumsDistinguished Expert - 2017Commented:
Other way would be;
Using your original formula:
="Budget Variance For Capital Project = "&TEXT('SSG 2017 Orders'!AY2,"[$$ -409]#,##0.00_ ;[Red]-[$$ -409]#,##0.00")
Conditional Formatting as below using formula =Left(H10,1)="-" then format as red font
Negative To Red
0
ShumsDistinguished Expert - 2017Commented:
Of course you need to change H10 as per your cell, where you are having the formula
0
ssblueAuthor Commented:
Still not working for me. Not sure what is going on??
0
ShumsDistinguished Expert - 2017Commented:
Can you upload your file? or send me in pm
0
ssblueAuthor Commented:
it works if I take out the text part of the formula.
0
ShumsDistinguished Expert - 2017Commented:
Finally. Thank God.
That what I proposed earlier:
Do not use text function, just use your normal formula:
="Budget Variance For Capital Project = "&'SSG 2017 Orders'!AY2
Then Format Cell to [$$-409]#,##0.00_ ;[Red]-[$$-409]#,##0.00
0
ssblueAuthor Commented:
That doesn't work.  The only time I get RED is when there is NO text involved.
0
ShumsDistinguished Expert - 2017Commented:
Last try:
Please use your initial formula:
="Budget Variance For Capital Project = "&TEXT('SSG 2017 Orders'!AY2,"[$$ -409]#,##0.00_ ;[Red]-[$$ -409]#,##0.00")
Conditional format as below:
Negative To Red
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ssblueAuthor Commented:
Got it!  :)  Thanks!
0
ShumsDistinguished Expert - 2017Commented:
You're Welcome ssblue! Glad eventually I was able to help :)
0
ShumsDistinguished Expert - 2017Commented:
The problem was you were using ="Budget Variance For Capital Project = " at the beginning. Format Cell was not treating it as negative.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.