Have you ever imported data into Excel, from your credit card statement, or somewhere else, and found that Excel dates won’t change format? And, if you try to sort that column of dates, things end up in the wrong order.
That happened to me this week, and here’s how I fixed the problem, using a built-in Excel tool.
Fix Dates That Won’t Change Format
This video shows how to fix the dates that won’t change format, and there are written steps below.
Dates As Text
In the screen shot below, you can see the column of imported dates, which show the date and time. I didn’t want the times showing, but when I tried to format the column as Short Date, nothing happened – the dates stayed the same.

Why won’t the dates change format? Even though they look like dates, Excel sees them as text, and Excel can’t apply number formatting to text.
There are a few signs that the cell contents are being treated as text:
- The dates are left-aligned
- There is an apostrophe at the start of the date (visible in the formula bar)
- If two or more dates are selected, the Quick Calc in the Status Bar only shows Count, not Numerical Count or Sum.

Fix the Dates
If you want to sort the dates, or change their format, you’ll have to convert them to numbers – that’s how Excel stores valid dates.
Sometimes, you can fix the dates by copying a blank cell, then selecting the date cells, and using Paste Special > Add to change them to real dates. There’s a video at the end of this article, that shows how to do that.
Unfortunately, that technique didn’t work on this data, probably because of the extra spaces. You could go to each cell, and remove the apostrophe, but that could take quite a while, if you have more than a few dates to fix.
A much quicker way is to use the Text to Columns feature, and let Excel do the work for you:
- Select the cells that contain the dates
- On the Excel Ribbon, click the Data tab
- Click Text to Columns

In Step 1, select Delimited, and click Next

- In Step 2, select Space as the delimiter, and the preview pane should show the dates divided into columns.
- Click Next

In Step 3, you can set the data type for each column:
- In the preview pane, click on the date column, and select Date
- In the Date drop down, choose the date format that your dates are currently displayed in. In this example, the dates show month/day/year, so I’ve selected MDY.

- Select each of the remaining columns, and set it as “Do not import column (skip)”

- Click Finish, to convert the text dates to real dates.
Format the Dates
Now that the dates have been converted to real dates (stored as numbers), you can format them with the Number Format commands.
There are a few signs that the cell contents are now being recognized as real dates (numbers):
- The dates are right-aligned
- There is no apostrophe at the start of the date (visible in the formula bar)
- If two or more dates are selected, the Quick Calc in the Status Bar shows Count, Numerical Count and Sum.

To format the dates, select them, and use the quick Number formats on the Excel Ribbon, or click the dialog launcher, to see more formats.

Everything should work correctly, after you have converted the text dates to real dates.
Download the Sample File
To follow along with this tutorial, get the Date Format Fix Sample file from my Contextures website, on the Excel Dates Fix Format page.
More Excel Date Info
Prevent Grouped Dates in Excel
Count Items in a Date Range in Excel
How to Fix Numbers That Won’t Add Up
If you’re having a problem with Excel numbers that won’t add up, this video shows a few fixes that you can try. There are details on the Fix Numbers that Don’t Add Up page on my Contextures site.
______________________________
How to Fix Excel Dates That Won’t Change Format

___________________________
This article was great! Pictures were good too! Thank You!Really
A little VBA code can handle this nicely.
Give the range of dates you want to convert a name, either manually or by vba code. I’m named the range “rngDates”.
Then loop through the range of cells, testing to see if the cell contains a date [If IsDate(d)], and if it does, convert the textual date to a date value (using the type conversion function CDate, and the apply the desired format with NumberFormat:
For Each c in rngDates
d = c.value
If IsDate(d) Then
c.value = CDate(d)
c.NumberFormat = “dd/mmm/yyyy”
End If
Next
@Del Simcox – Not very familiar with VBA, Kindly provide complete vba code.
Have to manually copy date and time daily from received and sent emails from outlook and paste in excel 2010 in columns K4:K300(sent) and L4:L300(received). Date in outlook format is ( Fri 7/15/2016 1:38 PM) and its pasted in excel as text.Need to convert text in format (ddd mmm dd, yyyy – hh:mm AM/PM)
Tried below code and get runtime error .Would be great if a macro button is provided to convert the text date in reqd. format,even better macro runs automatically for tht cell when copied.
Thanks in advance … @Debra it’s a fantastic site.Thank You
Sub test()
Dim rngDates As Range
For Each c In rngDates
d = c.Value
If IsDate(d) Then
c.Value = CDate(d)
c.NumberFormat = “ddd mmm dd, yyyy – hh:mm AM/PM”
End If
Next
End Sub
Hello,
I have this stupid problem where I cannot change the date formatting. Can someone help me.
I’m going crazy… I check in google to see if I can solved my problem. I could see a lot of people has a trouble change date format but it doesn’t solved mine.
Here is what I already did.
I copy a lot of data from several Excel.CSV. I can send an Excel with my problem.
No Formula.
column A, I could change the date formatting but now I can’t!
column B, some date I could change and some not.
I first separeted the date and time, it works but change the date formatting, isn’t working
then save my work in HTML but it isn’t working,
then save in CSV, it isn’t working.
Copy and paste and Notepad, isn’t working.
Clear all formating, isn’t working
No macro are visible.
Well can someone has a new idea to help me out, I’m out of idea
Please ask me the excel sheet and I will send it to you.
Thank you
Kyrene
Thank you soooo much…I was trying since 25 minutes bt without success…this works:-)
The method does not work for me – tried several times.
I have to change it manually – can send you the file.
Would be grateful for help.
Thank you very much … have been using a very long method on how to convert text dates