How to convert "EEE MMM dd HH:mm:ss zzz yyyy" string to dd mm yyyy and mm dd yyyy format using microsoft excel or google sheets. What formula to use and how to Prove/Disprove the reliability of data.
2 Answers
1
votes
0
votes
Gave this a try and Excel just won't read the initial string with the TEXT function. So instead we need to split out the info, then pick only the items we need
- Use the
Text to Columns
button to split the data into different columns. I suggest using the Delimited option using a space as the delimiter - Use a
TEXTJOIN
formula to add the day, month, year into one string in the format you need - Finally format the cell to be Date, just in case something else needs to read this as a date
If you are really keen on making this fully automatic you could use the FIND function inside of the MID function to do the splitting for you (that'll be tricky though)
Good luck
TEXT()
formula. likeTEXT(A1,"dd mm yyyy")
– Harun24HR