?
Solved

format unformatted date entries

Posted on 2014-04-07
6
Medium Priority
?
344 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
[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
6 Comments
 
LVL 8

Expert Comment

by:Naresh Patel
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 53

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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

650 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