To work with numbers in Excel, you can format them (as currency, percentages, decimals, etc.), convert text to numbers, and fix common display problems. The quickest way to format a number is to select the cells, go to the Home tab, and use the Number Format dropdown in the Number group. This guide covers the essential steps for formatting, converting, and troubleshooting numbers in Excel.

What You'll Need

  • Microsoft Excel (desktop or web version; steps are similar, but menu labels may differ slightly by version).
  • A spreadsheet with numbers or text that should be numbers.

Step-by-Step

Formatting Numbers

  1. Select the cells you want to format. You can click and drag, or use Ctrl+Click (Windows) / Cmd+Click (Mac) to select multiple non-adjacent cells.
  2. Go to the Home tab on the ribbon.
  3. In the Number group, click the dropdown arrow next to the number format box (it usually shows "General").
  4. Choose a format from the list: Number (adds decimals), Currency (adds a currency symbol), Percentage (multiplies by 100 and adds %), Date, Time, etc.
  5. For more control, click More Number Formats at the bottom of the dropdown. This opens the Format Cells dialog box (or press Ctrl+1 on Windows, Cmd+1 on Mac).
  6. In the Format Cells dialog, go to the Number tab. Here you can set the number of decimal places, choose whether to use a thousands separator, and select how negatives are displayed.
  7. Click OK to apply.

Converting Text to Numbers

Sometimes numbers are stored as text (often indicated by a green triangle in the cell corner or left-aligned text). To convert them:

  1. Select the column or range of cells that contain text-formatted numbers.
  2. Look for the warning icon (a yellow diamond with an exclamation mark) that appears next to the first selected cell.
  3. Click the icon and select Convert to Number from the dropdown.
  4. If the icon doesn't appear, use this alternative: select the cells, go to the Data tab, and click Text to Columns. In the wizard, choose Delimited, click Next, uncheck all delimiters, click Next, and under Column data format choose General. Click Finish.
  5. Another method: type 1 in an empty cell, copy that cell, select the text-numbers, right-click, choose Paste Special, then select Multiply and click OK. This forces Excel to recalculate the values as numbers.

Using Number Formats for Calculations

  1. Select the cell where you want the result.
  2. Type an equals sign = and enter a formula, e.g., =A1+B1 or =SUM(A1:A10).
  3. Press Enter. The result will appear. If the result shows as a date or a long decimal, you can reformat the cell using the steps above.

Common Mistakes

  • Using the wrong format: For example, using "General" for currency will not show a dollar sign. Always pick the specific format you need.
  • Text numbers not calculating: If your formulas return errors or ignore cells, check if the numbers are stored as text. Look for the green triangle or try the conversion methods above.
  • Percentages showing as 0.1 instead of 10%: Excel stores percentages as fractions (0.1 = 10%). If you type 10 and then format as percentage, it will show 1000%. To avoid this, type the decimal (0.1) or use the percentage format before typing.
  • Losing leading zeros: If you type 00123, Excel may drop the zeros. To keep them, format the cells as Text before typing, or use a custom format like 00000.

Tips

  • Use the Increase Decimal and Decrease Decimal buttons in the Number group on the Home tab to quickly adjust decimal places.
  • For currency, you can choose the symbol (e.g., $, €, £) in the Format Cells dialog under Currency or Accounting.
  • To apply the same format to multiple non-adjacent ranges, select the first range, press Ctrl (Windows) or Cmd (Mac) and select the other ranges, then format.
  • If you need a custom number format (like adding text after a number), go to Format Cells > Custom and enter a format code like 0" units".
  • Use the Number Format dropdown to quickly apply common formats without opening the dialog.

Troubleshooting

If numbers are not calculating:

  1. Check if the cells are formatted as Text. If so, convert them using the methods above.
  2. Look for a green triangle in the corner of the cell. Click it and choose Convert to Number.
  3. Check for hidden spaces or non-printing characters. Use the TRIM function: =TRIM(A1) to remove extra spaces.

If numbers show as #####:

  1. This usually means the column is too narrow. Double-click the right edge of the column header to auto-fit, or drag the boundary to widen it.

If the decimal separator is a comma instead of a period:

  1. This is a regional setting. Go to File > Options > Advanced and under Editing options, uncheck Use system separators and set the desired decimal and thousands separators.

If a formula returns #VALUE!:

  1. This often means a text value is in a cell that should be numeric. Check the referenced cells and convert any text numbers.

If the format doesn't stick after reopening:

  1. Make sure you save the file in a format that supports formatting (like .xlsx). If you save as .csv, formatting is lost.

Frequently Asked Questions

How do I format a number as currency in Excel?

Select the cells, go to the Home tab, and in the Number group click the dropdown and choose Currency. For more options, open Format Cells (Ctrl+1) and select Currency under the Number tab.

Why does Excel show 2.5 as 2.50?

That's because the cell is formatted to show two decimal places. To change it, select the cells, go to Format Cells > Number, and set the decimal places to 0 or 1.

How do I convert a text number to a real number?

Select the cells, click the warning icon (if present) and choose Convert to Number. Alternatively, use Text to Columns or the Paste Special multiply trick described above.

Can I keep leading zeros in a number?

Yes. Format the cells as Text before typing, or use a custom format like 00000 in Format Cells > Custom.

Why is my percentage showing as 0.1 instead of 10%?

Excel stores percentages as fractions. To display 10%, enter 0.1 or format the cell as percentage before typing. If you already typed 10, you can divide by 100 or use the percentage format and then re-enter the value.

How do I add a thousands separator?

Select the cells, open Format Cells (Ctrl+1), go to Number, and check the box for Use 1000 Separator (,).