Date Format Conversion

BanburyS

New Member
Joined
Sep 22, 2016
Messages
6
I have trawled the net, and tried countless bits of VBA code, but nothing seems to do what I need. I have a column of dates from BL2 to BL10000 with date in all sorts of formats. I need them all to end up as the format 01.03.17. Any ideas would be very much appreciated.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
It's going to be extremely difficult to come up with a single solution for dates in 'all sorts of formats'

Can you perhaps post several examples showing every possible variation of format ?
 
Upvote 0
Wow thanks for your quick reply. Looking at the data,. It seems they can be say DD.MM.YY which is what we need, or DD/MM/YY or D/M/YYYY or the same combination but with - as the separater. None of them seem to hg have any text for the month or days. Any ideas?
 
Upvote 0
Try highlighting the column, Go to Data - Text To Columns
Select Deliminated - next
Choose Date - DMY
Click Finish.
 
Upvote 0
  1. In an Excel sheet, select the cells you want to format.
    Press Ctrl+1 to open the Format Cells dialog.
    On the Number tab, select Custom from the Category list and type the date format you want in the Type box.
    dd/mm/yy and =SUBSTITUTE(A2,"/".")
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,996
Members
452,542
Latest member
Bricklin

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
Back
Top