Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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'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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top