Custom format number to thousands

FryGirl

Well-known Member
Joined
Nov 11, 2008
Messages
1,368
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
How do I custom format a number into thousands.

Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
P​
[/TD]
[TD]
Q​
[/TD]
[/TR]
[TR]
[TD]
9​
[/TD]
[TD]
25068​
[/TD]
[TD]
25 k​
[/TD]
[/TR]
[TR]
[TD]
10​
[/TD]
[TD]
25568​
[/TD]
[TD]
25.5 k​
[/TD]
[/TR]
</tbody>[/TABLE]

Using 0.0" k" I just get


Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
P​
[/TD]
[TD]
Q​
[/TD]
[/TR]
[TR]
[TD]
9​
[/TD]
[TD]
25068​
[/TD]
[TD]
25068.0 k​
[/TD]
[/TR]
[TR]
[TD]
10​
[/TD]
[TD]
25568​
[/TD]
[TD]
25568.0 k​
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Use a custom format.

25068 with custom format 0.0, k looks like 25.1 k
25568 with custom format 0.0, k looks like 25.6 k

25068 with custom format 0, k looks like 25 k
25568 with custom format 0, k looks like 26 k

However, you can't make 25068 look like 25 k and 25568 look like 25.5 k with the same custom format.

Hope that helps!
 
Last edited:
Upvote 0
Thank you, got it. It was the comma I was missing.
 
Upvote 0
dont forget you can also use # as in ####0 k to loose leading zeros
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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