Solved

format unformatted date entries

Posted on 2014-04-07
6
323 Views
Last Modified: 2014-04-16
The attached spreadsheet displays a list of over 15,000 date entries in column 'A'. These dates are not correctly formatted as dates. Do you know how I would go about doing this so I can then sort via date?
date-formatting.xlsx
0
Comment
Question by:rob700
6 Comments
 
LVL 8

Expert Comment

by:itjockey
ID: 39983460
Select A1 & Home Tab - SortSort
0
 

Author Comment

by:rob700
ID: 39983472
Please refer to the attached document. This is my point the dates currently are not currently in the correct formate e.g. 01_feb

Sorting this way will not order them by date.

I need to change all of them so they are correctly formatted e.g 01/02/2013.

Then I will be able to sort them correctly via date.

Thanks
Rob
0
 
LVL 49

Expert Comment

by:Rgonzo1971
ID: 39983505
Hi,

If all the dates year are the same

you could use a helper's column with this formula

=DATEVALUE(SUBSTITUTE(A2,"_"," ")&" 2014")

Open in new window

Regards
date-formattingV1.xlsx
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39983520
Since it seems you want 2013 dates?

Add a helper column with formula:

=EDATE(SUBSTITUTE(A2,"_","/")+0,-12)

copied down.

Then you can copy and paste special > Values over original if desired and delete the helper.

Then sort normally.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39983895
Witout a helper column

- Change the computer date to 2013
- Do a search/replace and change all underscores ( _ ) to blank spaces
- Change the computer date back.

This will change all entries to dates in 2013 only.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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…
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 longer labels with horizontal bar charts instead of the vertical column chart.
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.

815 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