basically want to go from mm/dd/yyyy to yyyymmdd

C

clegge

have the followign string:
12/23/2005 09:30:14

would like to turn it into:
20051223


basically want to go from mm/dd/yyyy to yyyymmdd -

need a formula that will do the conversion...
 
N

Niek Otten

Hi clegge,

If you just want to change the appearance of the cell: Format>Cells>Number
tab, Custom, in the Type box, enter: yyyymmdd
If you really want the string 20051223: =TEXT(A1,"yyyymmdd")
And if you want the number 20051223: =VALUE(TEXT(A1,"yyyymmdd"))
 
G

Guest

<Format><Cells>
Click over to the "Number" tab
Click on "Custom"
Enter "yyyymmdd" (without the quotes)
 

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

Top