Excel won’t format numbers in millions automatically, but you can display them as readable "1,000,000" using built-in number styles. The simplest solution is to use the Comma format—it converts large numbers into formatted millions/billions with thousands separators. For precise control, you’ll need to tweak custom number formats, but the Comma style works 99% of the time. No advanced Excel knowledge required.

What You'll Need

  • Excel (Excel 2010 or newer, including Excel Online)
  • A cell or range of numbers you want formatted (e.g., sales figures, population counts)
  • Basic mouse/keyboard skills to select cells and apply formatting

Step-by-Step

  1. Select your data: Choose the cell or range containing the numbers you want formatted. For example, if you have values in cells A1:A10, click and drag to highlight them. If you’re unsure how to select a range, right-click the cell and choose Copy (Ctrl+C), then right-click again and select Paste Special > Paste Values Only to avoid formatting issues. If you’re working with a new file, the entire sheet is selected by default.
  2. Access the Number Format menu
    1. Desktop Excel: Go to the Home tab > click the dropdown arrow in the Number group. This opens a dropdown menu with built-in formats like Comma, Percentage, Currency, etc.
    2. Mobile Excel: Tap the three-dot menu (☰) in the top-right corner, then choose Format cells. Alternatively, open the Number group in the menu bar and tap Comma or another style.
  3. Apply the Comma format or Custom format
    1. For the fastest result: Select Comma from the dropdown. Excel will instantly display numbers with thousands separators (e.g., 1,000,000 instead of 1E6). This works for most cases, but some very large numbers (over 999,999,999) may display as # or NaN in older versions. If this happens, skip to Step 5 below.
    2. For precise control (e.g., if you need fixed decimals or custom separators): Choose Format Cells (or Format Cell on mobile) from the dropdown. In the Number tab, pick Custom. Enter #,##0 to format as millions. For example:
                  #,##0    → 1,000,000
                  #,##0.00  → 1,000,000.00
                  0.000#    → 1.000M (millions abbreviation)
                  
      Tip: Use placeholders like # for digits and ## for thousands separators. Add decimal points (e.g., #,##0.00) if your data includes decimals.
  4. Apply to the entire range
    1. After selecting your data (Step 1), click anywhere in the formatted cell to highlight it. Then press Ctrl+Shift+Enter (desktop) or long-press and drag the fill handle (small black square at the bottom-right corner) to apply the format to the entire range. Mobile users: Tap and hold the cell until a menu appears, then select Fill Down or Fill Right to propagate the format.
    2. If the formatted cells revert to numbers after copying, ensure you’re not overwriting the formatting with Ctrl+C or Ctrl+V before pasting elsewhere. Use Paste Special > Paste Formats instead to preserve the style.
  5. Fix formatting glitches
    1. If numbers still appear as # or NaN in older Excel versions, try these fixes:
      • Use the Custom format to force a comma separator, even if the dropdown suggests the number is too large. For example, enter #,##0 and set Min. decimal places to 0 if the number truncates incorrectly.
      • For numbers over 999,999,999, Excel may truncate them. Use Currency format with a set currency (e.g., USD) to force a full number display.
    2. If the formatting disappears after editing: Right-click the cell > Format Cells > Number > Custom. Re-enter #,##0 to reapply the format.

Common Mistakes

  • Ignoring the "Comma" dropdown: Most users accidentally pick Percentage or Currency instead of Comma. These formats add decimal points or currency symbols, which mess up millions formatting.
  • Selecting cells incorrectly: If you don’t highlight the right range (e.g., excluding headers), the formatting may apply only to part of the data. Always preview the selection before applying formats.
  • Using "General" format: The default "General" style shows numbers as-is (e.g., 1000 instead of 1,000). This is why numbers fail to display properly in millions format.
  • Copy-pasting formatted data: Pasting formulas or formulas with formatting can overwrite the style. Use Paste Special > Paste Formats to preserve the display.
  • Overlooking decimal places: If your data includes decimals (e.g., 1,234.56), use #,##0.00 in the Custom format to show them alongside the thousands separator.

Tips

  • Apply formatting to headers: If your data has a header row, select the entire column (e.g., drag the column letter down) to format all numbers in that column uniformly.
  • Use conditional formatting for visual emphasis: Apply a background color to cells with values over 1,000,000 to highlight large numbers in reports. Go to Home > Conditional Formatting > New Rule > Format cells higher or lower than.
  • Export with formatting: Save your file as .xlsx (Excel 2007+) or .xlsm (macro-enabled) to preserve formatting. Avoid saving as .xls (older format) or .csv (text) if you rely on thousands separators.
  • Test with edge cases: Try formatting numbers like 1,000,000, 1,000,001, and 1,000,000.05 to ensure your formula works for all scenarios.
  • Use the "Number" group shortcut: For quick access, click the dropdown arrow in the Number group on the Home tab. It’s faster than navigating to Format Cells every time.
  • Format currency-style numbers: If you need to display numbers as "1,000,000.00" (with decimals), use #,##0.00 in the Custom format. This is useful for budgets or financial data.

Troubleshooting

  1. Numbers appear as # or NaN This usually means:
    • The numbers exceed Excel’s default limit (~999,999,999). Use the Currency format or Custom format with a set currency (e.g., USD) to display them fully.
    • Your Excel version is outdated. Update to the latest version from Microsoft’s website if the issue persists.
    Solution: Right-click the cell > Format Cells > Number > Currency. Enter a currency symbol (e.g., USD) and set the number of decimal places to 0. This forces Excel to display the full number.
  2. Formatting reverts after pasting Solution:
    1. Before pasting, select the cells > press Ctrl+Shift+Enter to apply the format to the entire range. If you’re pasting from another Excel file, use Paste Special > Paste Formats.
    2. If the issue continues, try copying the cell contents (not formatting) and pasting them back into a new cell. This resets the formatting rules.
  3. Mobile Excel won’t apply the format Solution:
    1. On iOS/Android, tap and hold the cell until a menu appears. Choose Format Cells > Custom, then enter #,##0 and tap OK.
    2. If the format still doesn’t apply, restart the Excel app and try again. Some mobile devices cache formatting settings.
  4. Excel Online ignores the Comma format Solution:
    1. Excel Online uses a simplified number system. To force thousands separators, use the Custom format:
                  1. Select your data.
                  2. Click the ... dropdown in the Number group.
                  3. Choose Format Cells.
                  4. In the Number tab, pick Custom.
                  5. Enter #,##0 and tap OK.
                  
    2. If the numbers still don’t display correctly, open the file in desktop Excel and save it as .xlsx. Excel Online may not support custom formats as reliably.
  5. Formatting affects calculations This happens if you format cells that contain formulas (e.g., SUM, AVERAGE). Formatting only affects the display, not the calculation. Solution:
    1. Check which cells are selected. If they’re formulas, unselect them before formatting.
    2. Use the Format Cells > Number > Custom option to apply formatting without affecting calculations.

Frequently Asked Questions

Why does Excel format numbers as 1E6 instead of 1,000,000?

Excel uses scientific notation (e.g., 1E6 = 1,000,000) for very large numbers because it’s a compact way to display them. This happens when numbers exceed Excel’s default display limit (~999,999,999). To fix it, either use the Custom format with #,##0 or the Currency format.

How do I format numbers in millions with decimals (e.g., 1.2M)?

Use the Custom format and enter 0.000#. This will display numbers like 1.200M. For example:

0.000#   → 1.200M
0.000#.00 → 1.200M.00 (if decimals are present)

Will formatting numbers in millions affect my calculations?

No, formatting only changes how numbers display; it does not alter calculations. If you’re using formulas like SUM or AVERAGE, they will still work correctly. However, if you copy-paste formatted data into another Excel file, ensure you use Paste Special > Paste Formats to preserve the display.

Can I format numbers as "1.5B" (billions) instead of 1,000,000?

Yes, use the Custom format with #,##0.000# to display numbers like 1.500B. This works for any scale (millions, billions, trillions). For example:

#,##0.000#   → 1.500B
0.000#        → 1.5M

Why does my Excel file lose formatting when I share it via email?

Email apps like Gmail or Outlook may strip custom formatting when opening Excel files. To share formatted files:

  1. Save the file as .xlsx (Excel 2007+) instead of .xls.
  2. Use cloud storage (OneDrive, Google Drive) to share the file. Cloud services preserve formatting better than email attachments.
  3. If emailing, attach the file and inform recipients to open it in Excel.

How do I remove the thousands separator after formatting?

Use the Custom format but omit the thousand separator. For example:

#.##0   → Displays as 1,000.00 (with thousands separator but no currency)
0.000   → Displays as 1.000 (scientific notation)
If you want numbers without separators (e.g., 1000000), use the General format or #,##0 with Min. decimal places set to 0.