![]() |
Convert hard keyed/formatted numbers to dates
Have data that is supposed to be dates, e.g., 06-29-06, that has been
formatted with a custom number format of 00-00-00. I need to convert it/them to actual dates; however, the number is really 62906, which converts to 03/23/72, not 06/29/06. Help! and THANKS!! -- Marv Lusk |
Convert hard keyed/formatted numbers to dates
Try: data, text to columns, delimited, next, next, date format MDY, finish.
Format result as date. -- David Biddulph "MarvInBoise" wrote in message ... Have data that is supposed to be dates, e.g., 06-29-06, that has been formatted with a custom number format of 00-00-00. I need to convert it/them to actual dates; however, the number is really 62906, which converts to 03/23/72, not 06/29/06. Help! and THANKS!! -- Marv Lusk |
Convert hard keyed/formatted numbers to dates
try
=DATE(2000+RIGHT(A23,2),LEFT(TEXT(A23,"000000"),2) ,MID(TEXT(A23,"000000"),3,2)) where A23 contains your number "MarvInBoise" wrote: Have data that is supposed to be dates, e.g., 06-29-06, that has been formatted with a custom number format of 00-00-00. I need to convert it/them to actual dates; however, the number is really 62906, which converts to 03/23/72, not 06/29/06. Help! and THANKS!! -- Marv Lusk |
Convert hard keyed/formatted numbers to dates
The function worked 'perfectly' -- thanks!
-- Marv Lusk Boise Corporation "Duke Carey" wrote: try =DATE(2000+RIGHT(A23,2),LEFT(TEXT(A23,"000000"),2) ,MID(TEXT(A23,"000000"),3,2)) where A23 contains your number "MarvInBoise" wrote: Have data that is supposed to be dates, e.g., 06-29-06, that has been formatted with a custom number format of 00-00-00. I need to convert it/them to actual dates; however, the number is really 62906, which converts to 03/23/72, not 06/29/06. Help! and THANKS!! -- Marv Lusk |
Convert hard keyed/formatted numbers to dates
Glad it helped
"MarvInBoise" wrote: The function worked 'perfectly' -- thanks! -- Marv Lusk Boise Corporation "Duke Carey" wrote: try =DATE(2000+RIGHT(A23,2),LEFT(TEXT(A23,"000000"),2) ,MID(TEXT(A23,"000000"),3,2)) where A23 contains your number "MarvInBoise" wrote: Have data that is supposed to be dates, e.g., 06-29-06, that has been formatted with a custom number format of 00-00-00. I need to convert it/them to actual dates; however, the number is really 62906, which converts to 03/23/72, not 06/29/06. Help! and THANKS!! -- Marv Lusk |
All times are GMT +1. The time now is 03:05 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com