special number format

baha17

Board Regular
Joined
May 12, 2010
Messages
183
Hi Excel Masters,

I tried to find it on net but was a bit out of luck. How can I customize the format of the number as below requirements:
1. If the number is greater or equal to appears with "k": 4,123,567 should be 4,124k
2. If the number is below 0; the number turns to red with no bracelet; -4,123,567 should be 4,124k (this should be RED only no - or bracelet)</SPAN></SPAN></SPAN>
3. As you notice in second requirement, I require “1,000” separator for figures below 0 too.</SPAN></SPAN>
4. No decimal places all rounded up.</SPAN></SPAN>

Below was my custom format but did not work out below 0 figures:</SPAN></SPAN>
Code:
[>=1000] #,##0,"k";[<1000] #,##0;[Red]General</SPAN></SPAN>

Any help?
Thanks
Baha
 
Last edited:

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi Rick,
Awesome, it works perfectly fine for me. Thanks for the help.</SPAN>
Cheers,
Baha
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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