#1   Report Post  
CHARI
 
Posts: n/a
Default Excel

I need to change the data I exported from Access from
5061988 to 05/06/88. Is there a way to do this in either
access or Excel?
  #2   Report Post  
Stefi
 
Posts: n/a
Default

Say your value is in A1, then enter in B1

=DATEVALUE(RIGHT(A1;4)&"."&LEFT(A1;1)&"."&MID(A1;2 ;2))

Then format B1 as date (mm/dd/yy)

Regards,
Stefi

€˛CHARI€¯ ezt Ć*rta:

I need to change the data I exported from Access from
5061988 to 05/06/88. Is there a way to do this in either
access or Excel?

  #3   Report Post  
Ron Moore
 
Posts: n/a
Default

I'm not sure if your input might include dates in months 10, 11, or 12. If
so, assuming these would be in the format 10061988, for example, you could
use:

=DATE(RIGHT(A1,4),LEFT(A1,LEN(A1)-6),MID(A1,LEN(A1)-5,2))

where A1 holds the input (can be in general or text format). Then apply
date formatting as desired.

"CHARI" wrote:

I need to change the data I exported from Access from
5061988 to 05/06/88. Is there a way to do this in either
access or Excel?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) Alain79 Excel Discussion (Misc queries) 4 June 14th 05 07:34 AM
Stop Excel Rounding Dates leinad512 Excel Discussion (Misc queries) 1 April 20th 05 04:19 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Excel error - Startup (and Acrobat PDFMaker) gxdata Setting up and Configuration of Excel 0 February 4th 05 03:44 AM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 08:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"