special number format

baha17

Board Regular
Joined
May 12, 2010
Messages
181
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

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi Rick,
Awesome, it works perfectly fine for me. Thanks for the help.</SPAN>
Cheers,
Baha
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,315
Members
449,218
Latest member
Excel Master

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