Prevent Excel from Converting Numbers and Fractions into Dates

Several simple methods let you keep entries like 1/2, 10-11 or product codes from being auto-converted to dates in Excel. Pre-formatting cells as Text and using a leading apostrophe are the quickest fixes; use import options for CSV data.

What the video covers

Short guide for preventing Excel's automatic date conversion when entering or importing numbers, fractions, and codes.

Watch the video on YouTube

Step-by-step instructions

  1. Format cells or column as Text before entering data
    Select the cells or entire column, open the cell formatting dialog, choose Text as the number format, and then enter or paste your values. This is the most reliable way to preserve exact characters and separators.
  2. Prefix entries with an apostrophe for single values
    Type an apostrophe (') before a value (for example '1/2 or '10-11). Excel treats the entry as text and displays the original value; the apostrophe is not shown in the cell display.
  3. Enter fractions with a leading zero and space
    To ensure Excel recognizes a true fraction rather than a date, type a leading zero and a space before the fraction (for example 0 1/2). Excel will store it as a numeric fraction, not a date string.
  4. Format destination columns as Text before pasting or importing
    When pasting data or importing from another source, pre-format the destination cells as Text so pasted values are not auto-converted. If pasting large ranges, format whole columns ahead of time.
  5. Use the Text/CSV import workflow and set column types
    When importing CSV or text files, use the Data → From Text/CSV (or equivalent) import tool and explicitly set the column data type to Text during the import preview so Excel won’t convert values to dates.
  6. Check regional and locale settings if parsing still fails
    If Excel continues to interpret separators as dates, confirm your system or Office regional settings match the expected date/number formats; mismatched locales can cause different parsing behavior.

Watch the video

Video thumbnail for Prevent Excel from Converting Numbers and Fractions into Dates Play tutorial

Watch on YouTube

Why it matters

Excel guesses cell types and will convert entries that look like dates. That can corrupt product codes, inventory lists, serial numbers and other data that must remain exact.

Check your result

After applying a method, enter example values (e.g., 1/2, 3/4, 10-11, 5-6). Cells should display the original text or fraction rather than a date.

Troubleshooting

If cells already converted to dates, re-entering or pasting the original values is usually required; use Undo immediately if conversion just occurred. For imported CSVs, re-import and set columns to Text. Verify regional date settings if Excel still mis-parses separators.