Solved

Excel convert date to new layout from existing date entry

Posted on 2014-10-06
4
130 Views
Last Modified: 2014-10-06
I download a weekly spreadsheet that has the date format at 09/01/2000, I need to change that date format to 2000-9-1.  I have not found many articles that I can follow that will show how to change an existing date, everything so far is about formatting the today date.

Can anyone offer any help on how I would take the date format I am given and change to a new non standard format in Excel?

Current date format is 09/01/2000
Wanted format is 2000-9-1
0
Comment
Question by:chrispre
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
dsacker earned 500 total points
Comment Utility
There are a few ways you can do this. Perhaps the easiest way would be to format the entire column.

Click on the column header of your date column, then select Format Cells.

Click Custom.

In the "Type:" box, type yyyy-m-d.
0
 
LVL 20

Expert Comment

by:dsacker
Comment Utility
If you prefer to completely change the actual data in that date column to that format:

Select an extra column to the right of all your columns. For example, say your date column is Column A, row 2. Column Z, row 2 (cell Z2), enter: =TEXT(A2, "yyyy-m-d")

Copy that cell all the way down to your last row.

Then, if you wish, simply copy those values back into your original date column.

A lot more steps, but that actually replaces the data with the format you're looking for. Still, the option in my previous post is easier, I would think.
0
 
LVL 12

Expert Comment

by:James Elliott
Comment Utility
dascker has provided the only two solutions that I know of, but a consequence of the second option is that it will no longer be considered a 'date' by excel.

This may or may not impact your future use of the data.
0
 

Author Closing Comment

by:chrispre
Comment Utility
This was just what I needed.  Thank you!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now