How to convert DD.MM.YYYY HR:MI:SE to MM/DD/YYYY

bpflix

New Member
Joined
Feb 18, 2014
Messages
2
Hello,

I am using excel 2010. I have dates in this format ( 29.01.2014 20:54:51) I need to convert to MM/DD/YYYY. How i do it.

BPFLIX
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Welcome to the board.

Assuming the date will ALWAYS be in that format, as 2digitday.2digitmonth.4digit year
Try
=DATE(MID(A1,7,4),MID(A1,4,2),LEFT(A1,2))

Format the cell with the formula as mm/dd/yyyy
 
Upvote 0
=TEXT(SUBSTITUTE(A1,".","/"),"mm/dd/yyyy")
That may not work given the month-day order is reversed in the original text... I think I would go with Jonmo1's formula for this question (subject to the day number always being shown as two digits, which is fixable if not)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,262
Messages
6,171,080
Members
452,377
Latest member
bradfordsam

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