Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Showing / Instead of Numbers? How to Fix It

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Excel is almost certainly interpreting your entry as a fraction or a date rather than a number, so what you type as 1/2 or 12/31 comes back as a slash-formatted value, a date like 31-Dec, or a #DIV/0! error. Fixing it is quick: change the cell format to something other than Fraction or Date before you type, or prefix your entry with an apostrophe or a leading zero so Excel treats it as text. The rest of this guide explains exactly which check applies to your case and how to undo damage already done to a sheet.

What You'll Need

  • Excel on Windows, Mac, or the web (menu names below are for the desktop app; the web version groups options slightly differently). Note that labels can differ by version, device and region, so look for the closest match.
  • Access to the worksheet with write permission if the file is shared.
  • A backup copy of the file if you are about to reformat large ranges.

Step-by-Step

  1. Identify which symptom you have. A single cell showing something like 1/2 or 0.5 means the cell is formatted as Fraction. A date such as 1-Feb or 2-Jan means Excel read your text as a date. A #DIV/0! error means Excel read the entry as a division formula. A literal slash character with no number means you typed text, not a value. Each has a different fix below.
  2. Select the affected cells, right-click and choose Format Cells (or press Ctrl+1 on Windows, Cmd+1 on Mac). On the Number tab, check which category is highlighted. If Fraction or Date is selected, click General or Number and press OK. This alone fixes most cases where the digit value is intact but displayed oddly.
  3. Re-type the value after changing the format. Sometimes the stored value is already wrong, not just the display. Click the cell, press Delete, then type the number again. Compare what appears in the formula bar: if you type 05/2 and the formula bar shows 5/2/2026, Excel converted it to a date and reformatting alone will not bring back your text.
  4. For text that should stay exactly as typed, such as part numbers like 4/6 or a fraction you do not want calculated, type an apostrophe first: '4/6. Excel treats the apostrophe as a text indicator and it does not appear in the cell. Alternatively, format the cells as Text before entering anything. Formatting as Text after entry does not re-interpret existing values, so order matters.
  5. For a real division result, put the numbers in separate cells and use a formula instead of typing the fraction. For example, with 1 in A1 and 2 in A2, enter =A1/A2 in the result cell. This avoids ambiguity entirely and keeps your source numbers intact for later analysis.
  6. To convert a column of date-mangled entries back to text, select the column, open Data > Text to Columns from the ribbon, choose Delimited and click Next twice, then set the column format to Text before finishing. This re-imports the values as text. Do this on a copy first, because it overwrites the original contents.
  7. If the slash appears in a formula result, check whether a cell reference points to an empty cell. Dividing by a blank cell returns #DIV/0!, which looks nothing like a slash but is often described that way. Wrap the formula as =IFERROR(yourformula,"") to display a blank instead of the error.
  8. Finally, check your region and decimal settings if fractions will not behave. Go to File > Options > Advanced, scroll to the Editing options section, and confirm the Use system separators setting matches what you expect. A comma decimal separator system, common in many European locales, makes date and fraction parsing behave differently from a period system.

Common Mistakes

The most frequent error is setting the format to Text after data is already entered, then expecting the existing values to switch to text. Excel does not re-parse existing content, so you must re-enter it or use Text to Columns. Another common slip is typing a leading zero to keep a fraction as text, such as 03/4, and expecting the zero to show. Excel drops the zero and may still treat the entry as a date depending on the pattern.

People also assume a slash on screen means the cell contains text when it actually contains a formatted number, so they delete and retype the same value repeatedly with the same result. Always check the formula bar and the Format Cells dialog before re-entering. Copying a fraction from another program or a web page also brings the source's formatting, so paste as plain text or use Paste Special > Values when the value keeps changing shape.

Tips

Use an apostrophe for one-off entries you want preserved exactly, and a Text-formatted column for whole lists of identifiers such as fractions, model numbers or shoe sizes. For numbers you plan to calculate with, keep the source digits in plain numeric cells and let Excel display them however you like through formatting rather than typing formatted text.

If you work with Imperial fractions regularly, set the column format to Fraction once and use the Up or Down arrow buttons in the Format Cells dialog to pick a denominator. That displays 0.5 as 1/2 automatically without you typing a slash at all, which removes the ambiguity entirely. Keep a habit of pressing Ctrl+1 whenever a cell looks wrong: the format dialog explains most display oddities in one glance.

Troubleshooting

If the cell still shows a date after you change the format to General, the stored value is a date serial number, not text. Retype the entry or use Text to Columns to convert it back. If a whole column changes wildly after you reformat it, undo immediately with Ctrl+Z or Cmd+Z, then work on a copy.

When Text to Columns mangles your data, restore from the backup you made first, or close without saving and reopen the file. If the problem only happens in one workbook, the file may have cells with mixed formats; select all with Ctrl+A, set the format to General on a copy, and see which cells change. If it happens in every workbook, your regional settings in Windows or macOS are likely the cause rather than Excel itself, so check the region settings in your operating system.

If a shared file shows a slash for one person and a number for another, the workbook is probably displaying on machines with different regional formats. Ask each person to open a copy and confirm the stored value in the formula bar rather than the display.

Frequently Asked Questions

Why does Excel turn 1/2 into a date?

Because a slash with numbers matches Excel's date and fraction patterns. Depending on what you typed and your regional settings, Excel may read 1/2 as January 2 or as the fraction one-half. Formatting the cell as Text before typing prevents it.

How do I stop Excel from changing my fractions automatically?

Format the cells as Text before you enter anything, or start each entry with an apostrophe. For calculated fractions, use a division formula in a separate cell instead of typing the slash form.

Why does my cell show #DIV/0! instead of a value?

You are dividing by a blank cell or zero. Fill the divisor cell or wrap the formula in IFERROR to show a blank or a friendly message.

Can I get my text back after Excel converted it to a date?

Usually yes. Use Text to Columns with the column formatted as Text, or retype the value into a Text-formatted cell. Keep a backup copy first, since the conversion overwrites the original entries.

Does this work the same on Excel for Mac and the web?

The logic is the same everywhere, but the Format Cells dialog and Text to Columns are named and placed slightly differently, especially in the web app. Look for the same options under the Home or Data tabs.