Format numbers in thousands (K) in Excel

后端 未结 6 654
离开以前
离开以前 2020-12-12 22:36

In MS Excel, I would like to format a number in order to show only thousands and with \'K\' in from of it, so the number 123000 will be displayed in the cell as 123K

相关标签:
6条回答
  • 2020-12-12 22:59

    Non-Americans take note! If you use Excel with "." as 1000 separator, you need to replace the "," with a "." in the formula, such as:

    [>=1000]€ #.##0." K";[<=-1000]-€ #.##0." K";0
    

    The code above will display € 62.123 as "€ 62 K".

    0 讨论(0)
  • 2020-12-12 22:59

    Enter this in the custom number format field:

    [>=1000]#,##0,"K€";0"€"
    

    What that means is that if the number is greater than 1,000, display at least one digit (indicated by the zero), but no digits after the thousands place, indicated by nothing coming after the comma. Then you follow the whole thing with the string "K".

    Edited to add comma and euro.

    0 讨论(0)
  • 2020-12-12 23:01

    The examples above use a 'K' an uppercase k used to represent kilo or 1000. According to wiki, kilo or 1000's should be represented in lower case. So, rather than £300K, use £300k or in a code example :-

    [>=1000]£#,##0,"k";[red][<=-1000]-£#,##0,"k";0
    
    0 讨论(0)
  • 2020-12-12 23:03
    [>=1000]#,##0,"K";[<=-1000]-#,##0,"K";0
    

    teylyn's answer is great. This just adds negatives beyond -1000 following the same format.

    0 讨论(0)
  • 2020-12-12 23:10

    I've found the following combination that works fine for positive and negative numbers (43787200020 is transformed to 43.787.200,02 K)

    [>=1000] #.##0,#0. "K";#.##0,#0. "K"

    0 讨论(0)
  • 2020-12-12 23:13

    Custom format

    [>=1000]#,##0,"K";0
    

    will give you:

    enter image description here

    Note the comma between the zero and the "K". To display millions or billions, use two or three commas instead.

    0 讨论(0)
提交回复
热议问题