number formatting not responding in formula

jmartell

Board Regular
Joined
Jun 25, 2004
Messages
54
Hi and thanks for the help.

I have a formula that reads: =TEXT(VPS!L23,"$#,###")&" "&TEXT(VPS!N23,"+0.0%;-0.0%") which yeilds $30,563,920 -12.1% in one cell. I can not get the number format to respond to a RED text color for negative numbers. Any thoughts?

Thank you ~

J
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,015
Office Version
  1. 365
I don't think it's possible to have the red show up via formula.

You'd have to store the value of your formula and use VBA to color the characters. To keep the dynamic functionality of your formulas, you'd need to invoke a worksheet_change event (or similar) to have your code update the values.

Or, you can just deal with black +/- numbers/signs :)
 

jmartell

Board Regular
Joined
Jun 25, 2004
Messages
54
Thanks for the reply although I do not know VBA that well. Would this be something easy to walk me through?

Thank you~
 

Forum statistics

Threads
1,141,045
Messages
5,703,922
Members
421,321
Latest member
blusky4

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top