![]() |
basically want to go from mm/dd/yyyy to yyyymmdd
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 |
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 |
basically want to go from mm/dd/yyyy to yyyymmdd
<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 |
All times are GMT +1. The time now is 12:47 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com