Forum Discussion
AngelikiEfth
Nov 12, 2020Copper Contributor
Extracting Time from a Day-Month-Date-Time-Year value in Excel
I have a table with data like this: Wed Jan 23 23:58:50 2019. How do I extract only the time? Please help me on this. Most grateful!!!
- Nov 12, 2020
MindreVetande
Nov 12, 2020Iron Contributor
ED
Ignore. I was sleeping.
/ED
Is the data "real" excel data/time or a textstring?
If real excel-time
=MOD(A1,1)
And change the number-viewing format to something appropriate (ctrl+3)
If it is a textstring. extrakt text from letter 12 and 8 forward
=MID(A1,12,8)
And if you want to be able to calculate. Transform to proper Time-data
=TIMEVALUE((MID(A1,12,8)))
(ctrl+3)