Asn Murthy
Asn Murthy

Reputation: 1

How to change format of date and time format in excelwhich is combined

I have a date formate like 12-feb-17 07.54.34.340000000 AM to format 2/2/17 07:54 AM How to convert to this using Excel?

Upvotes: 0

Views: 30

Answers (1)

Scott Craner
Scott Craner

Reputation: 152525

the first 2 . need to be :. Use this formula and then format the result as desired:

=--SUBSTITUTE(SUBSTITUTE(A1,".",":"),":",".",3)

enter image description here

Upvotes: 2

Related Questions