Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Excel Convert yyyymmdd text to Date formatHelpful Member! 

nirod (TechnicalUser) (OP)
26 Jul 06 11:00
Importing text into Excel sets the yyyymmdd field as text format.  Program will not convert this field to DATE format.  Get ######.  Cannot find help in Excel on this matter.  Can anyone tell me how to convert 20060701 to 07/01/2006?
AnotherHiggins (TechnicalUser)
26 Jul 06 11:04
In a column to the right of the imported data, use this formula:
    =DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))
Copy the formula down as far as needed.

(Replace A1 with the appropriate cell reference)

_____
-John

    The plural of anecdote is not data

Help us help you. Please read FAQ181-2886 before posting.

SkipVought (Programmer)
26 Jul 06 11:08


FYI...

Why do Dates and Times seem to be so much trouble?  FAQ68-5827

Skip,

glasses
tongue

nirod (TechnicalUser) (OP)
26 Jul 06 12:18
Thank you, your help is greatly appreciated :)
AnotherHiggins (TechnicalUser)
26 Jul 06 12:19
Glad you got it sorted out.
cheers

_____
-John

    The plural of anecdote is not data

Help us help you. Please read FAQ181-2886 before posting.

Helpful Member!  KenWright (TechnicalUser)
27 Jul 06 1:38
You can also just select the data and use Data / Text To Columns on it, then just specify DATE and choose the YMD option.  No extra formulas and data sorted in situ.

Regards
         Ken.............

----------------------------------------------------------------------------
  It's easier to beg forgiveness than ask permission
----------------------------------------------------------------------------

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close