Format Big Numbers as K, M, B

Excel Formulas › Dashboards & Reporting

All versions

Dashboards read cleaner when $1,200,000 shows as $1.2M. A custom number format scales and abbreviates large numbers — without changing the underlying value — so KPI tiles stay compact.


Quick formula: display thousands with a K:
[<1000000]#,##0,"K";#,##0.0,,"M"
A trailing comma divides the display by 1000; two commas by a million. Brackets switch format by size.

The example

1,200,000 shows as 1.2M.

AB
1ValueShows
21,200,0001.2M
345,00045K

The formula

The formula:

[<1000000]#,##0,"K";#,##0.0,,"M" // format only — value unchanged

How it works

How it works:

  1. A trailing comma in a number format scales the display by 1,000 (#,##0,"K" → thousands).
  2. Two commas scale by a million (#,##0.0,,"M").
  3. Use a conditional format with [<1000000] to show K below a million and M above it.
  4. This changes only the display — the cell still holds the full number for math.

Format, not formula. Because it’s a number format, the cell keeps its true value — sums, charts, and comparisons all use the real number while the dashboard shows the tidy abbreviation. Apply it via Format Cells → Custom. Add a currency symbol ($#,##0.0,,"M") for money tiles.

Try it: interactive demo

Live demo

Enter a large number.

Displays as:

Variations

Millions with $

Money tile:

$#,##0.0,,"M"

Billions

Three commas:

#,##0.0,,,"B"

Three-tier (K/M/B)

By size:

[<1000000]#,##0,"K";[<1000000000]#,##0.0,,"M";#,##0.0,,,"B"

Pitfalls & errors

It’s a format, not text. The value stays numeric — don’t replace it with a TEXT string you can’t sum.

Comma counts. One comma = ÷1,000, two = ÷1,000,000, three = ÷1,000,000,000.

Conditional sections. Square-bracket conditions switch the format by value size.

Practice workbook

📊
Download the free Format Big Numbers as K, M, B practice workbook
A number-format sheet with the millions-$, billions, and three-tier variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I show big numbers as K or M in Excel?
Use a custom number format with trailing commas: #,##0,"K" for thousands, #,##0.0,,"M" for millions. The value stays numeric.
Does this change the cell's value?
No — it's a display format only. Sums, charts, and math still use the full number.
How do I switch between K and M automatically?
Use conditional sections: [<1000000]#,##0,"K";#,##0.0,,"M".

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Round to thousands · KPI target indicator · Dynamic dashboard dropdown