View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MarvInBoise MarvInBoise is offline
external usenet poster
 
Posts: 39
Default 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