Data Types

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

Guest

I am having trouble converting a data type on a file that I received. It is supposed to display the date as mm/dd/yyyy, but it is formatted as a number. When I try to change it to a date/time format, it does not convert correctly. Does anyone know how to fix this?

Thanks
 
Hi

Give us an example of what your number looks like now ie is it 23072004,
07232004 or 20040723?

--
Andy.


Allison McCoy said:
I am having trouble converting a data type on a file that I received. It
is supposed to display the date as mm/dd/yyyy, but it is formatted as a
number. When I try to change it to a date/time format, it does not convert
correctly. Does anyone know how to fix this?
 
If all the days are entered as two digits: 2011954 (for Feb 1, 1954), you could
use a helper cell (or helper column).

Put a formula like:
=DATEVALUE(TEXT(A1,"00\/00\/0000"))
format it as a date
Edit|copy
Edit|paste special|values
(over the original range???, and delete the helper column)
 

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

Back
Top