Custom Cell Category or Other Weird Data Format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a date time stamp that I imported into excel within some data that I am analyzing. I would like to get excel to recognize it as a time but I have been unable to find a solution. The stamp looks like this 2004031503510430. Reading left to right it states 2004(year), 03(month), 15(day), 03(hour), 51(minute), 04(second), and 30(precise to a tenth of a second). I have been able to separate the date from the time using the LEFT and RIGHT worksheet functions, but getting it formatted as time seems impossible
 
=TEXT(A1,"0000\-00\-00 00\:00\:00\.00")*1

and custom format the cell as:

mm/dd/yy hh:mm:ss.00

HTH
Jason
Atlanta, GA
-----Original Message-----
I have a date time stamp that I imported into excel
within some data that I am analyzing. I would like to get
excel to recognize it as a time but I have been unable to
find a solution. The stamp looks like this
2004031503510430. Reading left to right it states 2004
(year), 03(month), 15(day), 03(hour), 51(minute), 04
(second), and 30(precise to a tenth of a second). I have
been able to separate the date from the time using the
LEFT and RIGHT worksheet functions, but getting it
formatted as time seems impossible.
 
Appreciate the help, but that didn't work. Changing the custom cell format gave me the #'s and using the worksheet function on 2004031503520240 gave me 38061. Any other ideas.
 
It worked for me.
-----Original Message-----
Appreciate the help, but that didn't work. Changing the
custom cell format gave me the #'s and using the worksheet
function on 2004031503520240 gave me 38061. Any other
ideas.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

separating date and time 5
Date / Time problem 4
Date Format (No Time) 2
Pivot Table date format 1
Transpose or Macro? 7
Converting TEXT to Date format 2
custom date format 1
Custom time format help 1

Back
Top