Custom Text Formatting in thousands and millions with red up arrows and green down arrows

rollnation2

New Member
Joined
Mar 18, 2021
Messages
25
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I am trying to add custom text formatting that displays in thousands and millions with the conditions below:
  • red text, with an up arrow for positive numbers
  • green text, with a down arrow for negative numbers
Here are a couple of examples, hoping for a single text format that recoginizes negative number as green and formats them exactly as below.

Example for thousands increasing number - Text Format:"[Red]$0,"K" ▲;[Color10]$0."K"▼;"-""
1655490702039.png

Example for millions increasing number - Text Format: [Color10][<999950] 0.0,"K" ▲;[Red][<999950000]0.0,,"M"▲;0.0,,,"B"
1655491023483.png



Example of what does not work
[Color10][<999950] $0.0,"K" ▼;[Color10][<999950000]$0.0,,"M"▼;0.0,,,"B"
1655491238755.png
- I would want this to be green with a down arrow

Any help would be appreciated!
 

Attachments

  • 1655490975840.png
    1655490975840.png
    793 bytes · Views: 15

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Sorry, if what you're actually after is to make sure that it has the negative sign before the numbers, that's easily solved:

Excel Formula:
[Color10][<999950] "-"$0.0,"K" ▼;[Color10][<999950000]$0.0,,"M"▼;0.0,,,"B"
 
Upvote 0
Dan - thank you for the help!

Is there a way to combine the text code into a single line so it recognizes negative and positive values and formats them to I do not need different format codes for negative and positive values?
I dont need a negative sign. Just want negative values showing Green with a down arrow and positive values showing Red with an up arrow.

I dont need a "billions" format code, only millions as "M" and thousands as "K".

Thanks for your help!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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
Back
Top