• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 290
  • Last Modified:

Excel 2007 - date from export

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
NursingCorp
Asked:
NursingCorp
  • 2
1 Solution
 
barry houdiniCommented:
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
 
barry houdiniCommented:
...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
 
NursingCorpAuthor Commented:
Perfect! Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now