Extracting date from strings

chiswickbridge

Board Regular
Joined
Feb 2, 2013
Messages
126
My Excel work has dates as stings in dd.mm.yy format. I need to convert the dd.mm.yy to date format Example : A1 contains 28.05.15 which is todays date but has been input as string. I want an easy formula to show the date in B1 as 28May2015. Help
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
38,154
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
You can use this formula...

=0+SUBSTITUTE(A1,".","/")

It will return the date as an offset serial value (how Excel stores dates), so you will have to format the cell with the date format of your choosing, then you can copy it down as needed.
 
Upvote 0

chiswickbridge

Board Regular
Joined
Feb 2, 2013
Messages
126
Tks bbot & Rick....it worked perfectly.............gaz_chops...tks, but the value is still as string unable to format it
 
Upvote 0

Forum statistics

Threads
1,195,683
Messages
6,011,137
Members
441,587
Latest member
kbsgiri09

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top