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

  • Thread starter Thread starter clegge
  • Start date Start date
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...
 
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"))
 
<Format><Cells>
Click over to the "Number" tab
Click on "Custom"
Enter "yyyymmdd" (without the quotes)
 
Back
Top