Skip to main content

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


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


Convert various non-standard date format to real date format with only one click

If you have multiple non-standard date format, such as yyyymmdd 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. Click to download Kutools for Excel!

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


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 
    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 30 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:

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 300 handy Excel add-ins, free to try with no limitation in 30 days. Download and free trial Now!

Related article:

How to convert yyyymmdd to normal date format in Excel?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
=SUBSTITUTE(A2,".","-") - is not working, it results in 43559 (date serial number?) instead of 04-04-19
This comment was minimized by the moderator on the site
Hello, AC,
Your formula works well in my workbook, could you give your problem more detailed?
Or you can insert a screenshot here.
This comment was minimized by the moderator on the site
Here's the screenshot. Changing General to Text does not help...
This comment was minimized by the moderator on the site
Sorry, I didn't meet your problem, but, if your formula cell is a 5-digit number, you should try to format it as number.
This comment was minimized by the moderator on the site
That's beet tried as well - makes no difference - keeps displaying date serial number, as on the screenshot above
This comment was minimized by the moderator on the site

2.ctrl+H3.*find what: -(dash) *Replace with: .(.)4.substitute(A2,''.'',''/'')

This comment was minimized by the moderator on the site
=SUBSTITUTE(A2,".","-") - is not working, it results in 43559 (date serial number?) instead of 04-04-19
This comment was minimized by the moderator on the site
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..
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations