To display Excel values in millions, divide the number by 1,000,000 and apply a custom number format that shows the result with an 'M' suffix. This makes large numbers easier to read in financial reports, dashboards, and presentations without changing the actual cell value.

What You'll Need

  • Microsoft Excel (Windows or Mac, any recent version)
  • A worksheet with numeric values you want to display in millions (e.g., revenue, expenses, population)
  • Basic familiarity with Excel cells and formatting

Step-by-Step

  1. Select the cell or range of cells containing the numbers you want to format as millions.
  2. Right-click the selected cells and choose 'Format Cells' from the context menu, or press Ctrl+1 (Cmd+1 on Mac).
  3. In the Format Cells dialog box, go to the 'Number' tab and select 'Custom' from the category list.
  4. In the 'Type' field, enter the following format code: 0.0,"M"
  5. Click 'OK' to apply the format. The selected numbers will now display as values in millions with one decimal place and an 'M' suffix (e.g., 2.5M for 2,500,000).
  6. To show whole numbers only (no decimals), use the format code: 0,"M"
  7. To show two decimal places, use: 0.00,"M"
  8. If you need to include a dollar sign, use: $0.0,"M"
  9. For negative values to appear in red with a minus sign, use: 0.0,"M";[Red]-0.0,"M"
  10. To test the format, enter a value like 3000000 in a formatted cell — it should display as 3.0M.
  11. Note that the underlying value remains unchanged; only the display is altered. Formulas referencing these cells will use the full numeric value.

Common Mistakes

  • Manually typing 'M' after the number (e.g., entering 2.5M as text) — this prevents the cell from being used in calculations.
  • Using the wrong number of zeros in the divisor — remember that Excel’s custom format scales by thousands per comma, so two commas (,,) would scale by millions, but in the format code, one comma divides by 1,000, so to show millions you use one comma in the format (which scales the display by 1,000) combined with the mental adjustment — actually, correction: in Excel custom formats, each comma represents a division by 1,000 for display purposes. To show millions, you need to divide by 1,000,000, which requires two commas. The correct format for millions is 0.0,,"M" — one common error is using only one comma, which shows thousands instead of millions.
  • Applying the format to text or non-numeric cells, which has no effect.
  • Assuming the formatted value is what Excel uses in formulas — the display format does not change the actual value used in calculations.
  • Forgetting to adjust the number of decimal places when the scale changes, leading to misleading precision (e.g., showing 0.0M for values under 100,000).

Tips

  • Use the Format Painter to quickly apply the same millions format to other cells or ranges.
  • Create a cell style for 'Millions Format' if you use this often — go to Home > Cell Styles > New Cell Style.
  • When building reports, consider adding a label like 'In Millions' near the formatted data to avoid confusion.
  • Use conditional formatting alongside the custom format to highlight values above or below certain thresholds in millions.
  • If you’re sharing the workbook, note that the custom format will display correctly only if the recipient’s Excel supports it — all modern versions do.
  • For international audiences, be aware that some regions use a comma as a decimal separator — test the format if sharing across locales.

Troubleshooting

  • If numbers still appear as full values (e.g., 2500000 instead of 2.5M), check that you applied the format correctly — revisit the Format Cells dialog and ensure the 'Type' field contains the exact code with two commas for millions: 0.0,,"M".
  • If the 'M' appears as literal text but the number doesn’t scale, you may have entered the format in the wrong section — ensure you’re in the 'Custom' category under the 'Number' tab.
  • If formatted cells show #####, the column is too narrow — double-click the column border or drag to widen it.
  • If the format works on some cells but not others, ensure all target cells contain numeric values, not text formatted to look like numbers.
  • If you copied values from another source (like a website or PDF), they may be stored as text — use VALUE() or retype to convert to numbers before formatting.
  • If the format reverts after saving, check if the file is in an incompatible format (like .csv) — custom number formats are only preserved in .xlsx, .xls, or .xlsm files.

Frequently Asked Questions

Does formatting a cell as millions change the actual value used in formulas?

No, the custom format only changes how the value is displayed. The underlying number remains intact and is used exactly as entered in all calculations.

Can I show values in both millions and thousands in the same column?

Not with a single format code — you’d need to use separate columns or apply different formats conditionally using rules or formulas with TEXT().

Why does my format show 0.0M when the cell is empty?

Excel applies the format to zero or blank cells by default. To hide zeros, use a format like 0.0,"M";-0.0,"M";"" to show blanks for zero values.

Will this format work in Excel for Mac?

Yes, the custom number format syntax is identical between Windows and Mac versions of Excel.

Can I use this format in pivot tables?

Yes — right-click a value in the pivot table, choose 'Number Format', and apply the same custom format (e.g., 0.0,,"M") in the Format Cells dialog.

Is there a way to automatically convert numbers to millions without changing their display?

If you want to actually calculate in millions (e.g., for simpler formulas), create a helper column that divides the original value by 1,000,000, then format that column as needed.