Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to convert date from dot to slash format in Excel?

For example, you have a list of date which formatted as 12.23.2014, now, you want to convert this date format to 12/23/2014 slash format. In Excel, how could you convert date from dot to slash format quickly and easily?

Convert date from dot to slash format with formula

Automatically convert date from dot to slash format when you type the date with VBA code

Convert multiple date from dot to slash format with Kutools for Excel


Convert various non-standard date format to real date format:

If you have multiple non-standard date format, such as mm.dd.yyyy format, the normal Format Cells feature in Excel will not work well for you. With Kutools for Excel’s Convert to Date utility, you can quickly convert various non-standard dates to your locale date formats.

doc convert to normal date 3

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!



In Excel, the normal date format may not help you to convert the dot date to slash date format, but, you can apply the following simple formula to solve it.

1. Please enter this formula: =SUBSTITUTE(A2,".","/") into a blank cell besides your date, see screenshot:

doc convert dot slash format 1

2. Then drag the fill handle down to the cells that you want to contain this formula, and the dot date has been converted to the slash date format, see screenshot:

doc convert dot slash format 2


If you want to auto convert the date form dot to slash format directly when you type the date, the following VBA code may help you, please do as follows:

1. Activate the worksheet that you want to use.

2. Then right click the active tab name, and choose View Code, see screenshot:

doc convert dot slash format 3

3. In the opened Microsoft Visual Basic for Applications window, please copy and paste the following code into it.

VBA code: Automatically convert date from dot to slash format:

Private Sub Worksheet_Change(ByVal Target As Range)
'updateby Extendoffice 20150924
    On Error Resume Next
    Application.EnableEvents = False
    If Not (Intersect(Target, Me.Range("A1:A10")) Is Nothing) Then
        Target.Value = Replace(Target.Value, ".", "/")
    End If
    Application.EnableEvents = True
End Sub

4. Then save this code and close the Microsoft Visual Basic for Applications window, after that, when you enter a date format as 09.23.2015 in the range A1:A10 of current sheet, after pressing the Enter key, the date will be converted as 9/23/2015 at once.

Note: In the above code, A1:A10 is the range of cells which can be take effect by applying this code, you can change the cell reference to your need.


If you have Kutools for Excel, with its Convert to Date utility, you can convert various non-standard date to the normal date formatting including the dot format.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days. 

After installing Kutools for Excel, please do as follows:

1. Select the cells that you want to convert to slash date formatting.

2. Click Kutools > Content > Convert to Date, see screenshot:

doc convert dot slash format 4

3. And the dot date format have been converted to the normal slash date format immediately, see screenshot:

doc convert dot slash format 5

Note: You can highlight all the records in the Convert to Date dialog box, and click Recover to cancel this operation to return to the original dot date format as following screenshot shown:

doc convert dot slash format 6

Click to know more about this Convert to Date utility…

 Download and free trial Kutools for Excel Now !


Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Related article:

How to convert yyyymmdd to normal date format in Excel?


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    AC · 1 months ago
    =SUBSTITUTE(A2,".","-") - is not working, it results in 43559 (date serial number?) instead of 04-04-19
  • To post as a guest, your comment is unpublished.
    AC · 1 months ago
    =SUBSTITUTE(A2,".","-") - is not working, it results in 43559 (date serial number?) instead of 04-04-19
  • To post as a guest, your comment is unpublished.
    raghu · 2 years ago
    hi i have installed kutools when i try to change the date format from dot to slash in kutools it is showing AM and PM along with the date
    I am using office 2010 professional plus kindly help..