logo
search
Formatting Issues

How to Display Excel Numbers Using K and M Abbreviations

Amos GikundaAmos Gikunda Sep 28, 2026 873 views

Question details

The user wants to format large numerical data to display 'K' for thousands and 'M' for millions.

How to Display Excel Numbers Using K and M Abbreviations
Product
Microsoft Excel
Device & OS
not provided
Scenario
Formatting large datasets to improve visual presentation and readability in spreadsheets.
Observed behavior
Excel for the Web does not support these advanced custom number formats, preventing the user from applying the K and M abbreviations online.
Before you start

Ensure you are working in the desktop version of Excel, as Excel for the Web currently lacks the advanced custom number formatting features required to apply these abbreviations.

Solution 1Recommended

Apply Custom Number Formats in Desktop Excel

Use the Format Cells dialog in the desktop application to assign specific custom formatting codes that scale numbers to thousands or millions.

Since Excel for the Web does not support custom number formats, you will need to open your workbook in the desktop version of Excel to create K and M abbreviations.

1
Select the target cells

Highlight all the cells containing the large numbers you wish to format.

2
Open Format Cells

Press 'Ctrl + 1' on your keyboard, or right-click the selected cells and choose 'Format Cells' from the context menu.

3
Navigate to Custom formats

In the Format Cells dialog box, go to the 'Number' tab and select 'Custom' from the Category list on the left side.

4
Enter the formatting code

In the 'Type' input field, type 0,"K" to display the numbers in thousands. If you want to display them in millions, type 0,,"M" instead. Click OK to apply.

Apply Custom Number Formats in Desktop Excel
Understanding the Formatting Commas: In custom Excel formats, each comma placed after a number placeholder scales the value down by a multiple of 1,000. One comma formats the value as thousands, and two consecutive commas format it as millions.
Advanced Spreadsheet Formatting

Format Numbers with K and M Easily in WPS Spreadsheet

WPS Spreadsheet offers powerful, free desktop features that allow you to seamlessly apply custom number formats like thousands (K) and millions (M) without needing an expensive subscription.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office on your desktop and open the spreadsheet containing your large numbers.
  2. 2. Access the Format Cells dialog: Select the cells you want to format, right-click, and choose 'Format Cells', or press the 'Ctrl + 1' shortcut.
  3. 3. Apply custom abbreviation codes: Navigate to the 'Number' tab, click on 'Custom', and enter 0,"K" for thousands or 0,,"M" for millions in the Type field.
  4. 4. Confirm and view changes: Click 'OK' to instantly update your cell displays while preserving the original numerical values for calculations.
Easily apply advanced custom formats like 0,"K" and 0,,"M"Fully compatible with Microsoft Excel (.xlsx) file formatsLightweight, fast, and completely free to useFamiliar user interface for a zero-learning-curve transition
QA img-9

Frequently Asked Questions

Can I use K and M abbreviations in Excel for the Web?

No, Excel for the Web currently lacks support for custom number formats. You need to open the workbook in the desktop version of Excel or use a compatible desktop application like WPS Office to apply these custom formats.

How do I automatically show K or M depending on the number size?

You can use conditional custom formatting. By entering [>999999]0,,"M";[>999]0,"K";0 in the Custom Type box, the spreadsheet will automatically format numbers over a million with 'M' and numbers over a thousand with 'K'.

Will applying these formats change the actual values in my cells?

No, custom formatting only alters how the number is displayed on the screen. The underlying cell value remains the exact original number, meaning all your formulas and calculations will continue to work perfectly.

Can I include decimal places with the K and M abbreviations?

Yes, you can easily modify the custom format code to include decimals. For example, using 0.0,"K" will display thousands with one decimal place (e.g., 1.5K), and 0.00,,"M" will display millions with two decimal places.