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...
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"))
--
Kind regards,
Niek Otten
"clegge" <[email protected]> wrote in
message news:[email protected]...
>
> 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
>
<Format><Cells>
Click over to the "Number" tab
Click on "Custom"
Enter "yyyymmdd" (without the quotes)
--
Regards,
Dave
"clegge" wrote:
>
> 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
>
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks