Dates play an important role when we need to analyze trends. And, this is one of the most important things which we need to capture in a right way.
In Excel, the right format to insert a date is mm/dd/yyyy. That’s the basic date format which is used by Excel to store dates. Apart for this, there are some other date formats which are acceptable.
Now the thing is: when we capture a date in a wrong format Excel treats that date as a text. And, then we can’t use that date further in any calculation.
When is comes to textual date formats there is no one particular thing. It depends on the person who is entering those dates.
The bottom line is:
We do need some methods which we can use to convert a text to an actual date with a right format.
So today, in this post, I’d like to share with you 10 methods which we can use to convert a text to date format in Excel. For converting a text to date we need to use a combination of different functions.
So let’s get started.
Using the DATEVALUE function is a basic method to convert a date into an actual date which is stored as a text.
Let’s say you have a list of dates in your worksheet and all the cells where dates are entered have text format but all those dates are in the correct date format.
In the below example, we have a date in a cell but when I trying to add a number into that date I’m getting an error, even that the format of the date is correct.
But if you look at the cell format, it’s text.
So here, the best way to use DATEVALUE function. You just need to refer that cell in the function and it will convert that date into an actual date.
And, then you can change it’s format to a date.
There are some situations where DATEVALUE can’t help us to get a date from a text. There are n number of irregular formats of dates and to deal with all those we need to create a custom formula using different functions. In next 10 examples, I will share with you how can we use these different functions.
Excel date system support a date with the forward slashes. And, if we have a date where we have backslashes, it will treat it as a text.
To solve this problem we can use below formula.
Now, we have a date format where the month is entered with its name. For Excel, this is not a date anymore, even it’s presenting a date clearly.
Below formula can help us in this.
It’s a common kind you problem where we get dots inside a date. This is a kind format used by people who are not aware that this not a proper date format.
And, this the formula to correct it.
This format is almost same as the format we have discussed in point 3.
And, we can correct it with below formula.
Sometimes people stores a date with the day name. And, if that date is not in a proper format Excel will treat it as a text.
Use this formula for this type to text date.
Here we have a date with the day name in the end. Now, the problem with this format is it has a comma between date and day name.
But, we can get the valid date using below formula.
We have a “
Below formula will help you to get the real date.
When we have a date format with space between day, month and year, we can use below formula to correct the date format.
With a date format where we have a short month name in the starting of the date.
We can use the following formula to convert it to a valid date format.
And for a date where there is no space between day, month, and year.
Below formula will help us to get correct date format.