Mindfulness

How to Reset Dates in Excel: Clear and Reformat

Updated · By the Relaxmid editors

Reading time
5 min
Sections
7
Topic
Mindfulness

You can fix incorrect dates in Excel by removing formatting that hides the true value, converting text strings into real dates, or using a formula to restructure the data. The method you choose depends on whether Excel sees your entries as text or as corrupted numbers.

Check if Your Dates Are Real Numbers

Excel stores dates as serial numbers, where January 1, 1900 is number 1. If a cell contains a real date, it usually aligns to the right side of the cell. If it aligns to the left, it is likely stored as text, which prevents sorting and calculation.

To verify the content, click a cell with a date and look at the formula bar. If you see a full date like “1/5/2024,” it is a valid entry. If you see a number like “45298,” it is also a valid date, just formatted as a number. If you see something that looks like text but behaves oddly, proceed to the conversion steps below.

Decision Guide for Date Issues

  • Date shows as text (left-aligned): Use the Text-to-Columns tool or a multiplication formula.
  • Date shows as #####: The column is too narrow; widen it.
  • Date shows as a random large number: Change the cell format to ‘Date’.
  • Date shows as 1900 or 1904: The year is missing or the system date setting is wrong.

Convert Text Dates to Real Dates

This is the most common fix. When you import data from other systems, dates often arrive as text strings. You need to force Excel to recognize them as date objects.

  1. Select the column containing the problematic dates.
  2. Go to the Data tab on the ribbon.
  3. Click Text to Columns.
  4. In the wizard window, ensure Delimited is selected and click Next.
  5. Uncheck all delimiter boxes (Tab, Comma, etc.) and click Next again.
  6. In Step 3 of the wizard, locate the Column data format section.
  7. Select Date and choose the format that matches your input (e.g., MDY for Month-Day-Year or DMY for Day-Month-Year).
  8. Click Finish. The dates should now be real values aligned to the right.

If the Text-to-Columns method fails because the format is inconsistent, use a formula helper. In an empty adjacent column, enter the formula =VALUE(A1) assuming A1 holds your text date. Drag this down. Then copy the results and paste them back over the original column using Paste Special > Values.

Reformat Existing Valid Dates

Sometimes the data is correct, but the display is confusing. For example, you may have “45298” showing instead of “Jan 5, 2024,” or you want to change “1/5/2024” to “May 1, 2024.” This does not change the underlying value, only how you see it.

  1. Select the cells containing the dates you wish to reformat.
  2. Right-click and choose Format Cells, or press Ctrl + 1.
  3. In the dialog box, select the Number tab.
  4. Choose Date from the Category list on the left.
  5. Select your preferred display style from the Type list (e.g., “3/14/2012” or “March 14, 2012”).
  6. Click OK.

If you need a custom format not listed, such as “DD-MM-YYYY,” select Custom at the bottom of the list and type the code dd-mm-yyyy into the Type box. Use d for day without leading zero, dd for day with leading zero, m for month, and yyyy for four-digit year.

Fix Mixed or Corrupted Entries

When dates are scattered across rows or columns incorrectly, such as having the month in one cell and the day in another, you must reconstruct them. This often happens when splitting wide tables.

Use the DATE function to rebuild the date safely. Assume Column A has the Year, Column B has the Month, and Column C has the Day. In cell D1, enter:

=DATE(A1, B1, C1)

Press Enter. Excel will combine these three numbers into a single serial date number. Format cell D1 as a Date using the steps above to make it readable. Drag the fill handle down to apply this to the rest of your dataset.

Handling Two-Digit Years

If your source data uses two-digit years (e.g., “01” for 2001), Excel interprets them based on your system settings. To avoid ambiguity, always expand two-digit years to four digits before processing. You can do this manually or by using a find-and-replace strategy if the pattern is consistent.

Worked Example: Cleaning a Messy Import

Imagine you downloaded a report where dates appear as “2023-13-01” (invalid) or “13/01/2023” (ambiguous). Here is how to resolve it step-by-step.

Scenario: Cell A1 contains “13/01/2023”. Your region expects US format (Month/Day/Year), so Excel thinks this is invalid text because there is no 13th month.

  1. Insert a new column next to A (Column B).
  2. In B1, enter the formula: =DATEVALUE(SUBSTITUTE(A1, "/", "-")). This forces Excel to parse the string as an ISO standard date.
  3. Drag the formula down to process all rows.
  4. Copy column B.
  5. Right-click cell A1 and select Paste Special > Values.
  6. Delete column B.
  7. Format column A as Date via Ctrl + 1.

The result is a clean, sortable date column. Note that DATEVALUE works best when the text string is unambiguous. If your data mixes US and International formats, you must normalize the input first.

Prevent Future Date Errors

To stop incorrect dates from entering your sheet, use Data Validation. This restricts what users can type into specific cells.

  1. Select the range of cells where dates should go.
  2. Go to the Data tab and click Data Validation.
  3. In the Settings tab, under Allow, select Date.
  4. Set the Data dropdown to between.
  5. Enter a start date and end date in the boxes (e.g., 1/1/2020 to 12/31/2025).
  6. Click OK.

Now, if you try to type “13/01/2023” or any text that isn’t a valid date within that range, Excel will block the entry and show an error alert. This keeps your dataset clean at the source.

Troubleshooting Common Symptoms

Symptom Cause Fix
Cell shows “#####” Column width is too small for the date format. Double-click the column border to auto-fit width.
Sort order is wrong Dates are stored as text, not numbers. Use Text-to-Columns or multiply by 1.
Formula returns #VALUE! One of the inputs is not a recognized date. Check for hidden spaces or non-date characters.
Year shifts by 100 years Two-digit year interpretation issue. Expand years to 4 digits manually or via formula.

Related

General information for everyday wellbeing, not medical advice. If something affects your health, sleep or mood for more than a short while, talk to a qualified professional. Read more

Spotted an error? Tell us and we will correct it (corrections policy).