Hi,
Im looking to fix the date and time format in a current sheet. Its an export from software so the format comes as text.
I tried doing the date + time formulas and have been somewhat successful. I can get the formula to work no problems, the issue that I have is that the text date formats are somewhat inconstant.
I only have a very small data set at this stage (a few days) but what I have found is that the times between 00:00 and 10:00 are not being reported as HH:MM but as H:MM so theres a value sometimes missing which is hurting my left,mid,right formulas
The current format is reported as MM/DD/YYY HH:MM:SS , although as I mentioned, if the first H is a 0, it misses the value.
I do not have any examples of a MM or DD where it could be reported as a single digit M, D (1-9), so I'll have to park that for now and fix that later.
Anyone have any ideas?
Thanks in advanced
Ben
A2 - 11/22/2018 10:14:26
A3 - 11/22/2018 9:28:21
=DATE(MID(A2,7,4),LEFT(A2,2),MID(A2,4,2))+TIME(MID(A2,12,2),MID(A2,15,2),MID(A2,18,2))
Im looking to fix the date and time format in a current sheet. Its an export from software so the format comes as text.
I tried doing the date + time formulas and have been somewhat successful. I can get the formula to work no problems, the issue that I have is that the text date formats are somewhat inconstant.
I only have a very small data set at this stage (a few days) but what I have found is that the times between 00:00 and 10:00 are not being reported as HH:MM but as H:MM so theres a value sometimes missing which is hurting my left,mid,right formulas
The current format is reported as MM/DD/YYY HH:MM:SS , although as I mentioned, if the first H is a 0, it misses the value.
I do not have any examples of a MM or DD where it could be reported as a single digit M, D (1-9), so I'll have to park that for now and fix that later.
Anyone have any ideas?
Thanks in advanced
Ben
A2 - 11/22/2018 10:14:26
A3 - 11/22/2018 9:28:21
=DATE(MID(A2,7,4),LEFT(A2,2),MID(A2,4,2))+TIME(MID(A2,12,2),MID(A2,15,2),MID(A2,18,2))