How to convert the text to date format in excel

后端 未结 1 1046
灰色年华
灰色年华 2020-12-22 10:33
  1. How to convert the below text to a date format the current format of the text is general if i try convert the text to date by right clicking the cell and selecting

相关标签:
1条回答
  • 2020-12-22 11:01

    Try,

    =DATEVALUE(TRIM(LEFT(SUBSTITUTE(A2, " ", REPT(" ", 99)), 299)))+TIMEVALUE(LEFT(RIGHT(A2,21), 12))
    

    If you are trying to recover the UTC, then some further parsing of the UTC differential would be necessary.

        

    0 讨论(0)
提交回复
热议问题