?
Solved

Excel 2007 - date from export

Posted on 2011-03-01
3
Medium Priority
?
288 Views
Last Modified: 2012-05-11
I am using a program that exports to Excel. The file exported has the date in the format of yyyymmdd (e.g. 20110301). When I go to Format the cell, I choose Date and then the format that I want (mm/dd/yyyy) but nothing happens, it just remains as 20110301.

I then tried using the DATEVALUE funtion in a new cell and it retuns #VALUE. I don't have access to the query that the program uses, all I have access to is the Excel sheet once it is exported.

What is the quickest and easiest way to get this column of values from it's current exported format (20110301) to the desired format (03/01/2011)?

Thanks,
Joe
0
Comment
Question by:NursingCorp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 35011365
Hello Joe you can convert using "Text to columns"

Select column of dates

Data > Text to columns > Next > Next > at step 3 choose "Date" under "column data format", then "YMD" from dropdown > Finish

Now you can format dates as required

regards, barry
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 35011381
...You could also use a formula in another cell, e.g. with date in A1 use this formula in B1

=TEXT(A1,"0000-00-00")+0

barry
0
 

Author Closing Comment

by:NursingCorp
ID: 35011390
Perfect! Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question