Mixed US and UK dates - convert to one format

vbacoder

Active Member
Joined
Jul 7, 2007
Messages
354
Hi everyone,

I have some data that contains a mixture of UK and US-style date formats. The data is quite vast so selecting one or other type manually to convert manually is not feasible. Is there an automatic way to convert the column of data to one of the two formats?

Many thanks!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
How do you know it's a mixture? It's likely to be all US, in which case Data|Text To Columns with Date MDY at Step 3 should do the conversion for you.
 
Upvote 0
Hi Andrew,

True, I will re-check and update the post. My initial impression was that the data was entered by different groups of people and amalgamated in one sheet.

vcoder
 
Upvote 0
Format cells in the UK column to a US date format.
Create a new column at the end of the spreadsheet with the same US date format.
Enter formula: =datevalue(cell) (where cell is the one you want to convert)
Copy the formula down the column
Copy, Paste Values Only (the results) over the UK column.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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