View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default basically want to go from mm/dd/yyyy to yyyymmdd

Hi clegge,

If you just want to change the appearance of the cell: FormatCellsNumber
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"))

--
Kind regards,

Niek Otten

"clegge" wrote in
message ...

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...


--
clegge
------------------------------------------------------------------------
clegge's Profile:
http://www.excelforum.com/member.php...o&userid=29927
View this thread: http://www.excelforum.com/showthread...hreadid=499799