Quantcast
Channel: Apache OpenOffice Community Forum
Viewing all articles
Browse latest Browse all 1281

Calc • Clean up and sort several thousand of dates

$
0
0
I need to clean up and sort several thousand of dates with time (Column A ) so that it looks like Column B.
I have tried the following:

Removed the time by replacing [\d][\d][:][\d][\d] or [:digit:]{2}[:][:digit:]{2} with "Replace with" blank/no characters/null

Then the time (and day of the week sometimes??) disappear.

If the days of the week remained, I tried replacing *day with "Replace with" blank/no characters/null, it didn't work so I had to take day by day.

Then I formatted the column with the English date format DD MMMM YYYY to get a two-digit day number (to be able to order the dates). It only worked when the day of the week and timestamp was removed. Sometimes it didn't add the zero befor a single digit day date??

It doesn't work well maybe because there are so many rows??

Then I have also tried replacing single digit day dates ¨[^:digit:] with 0& to get two digit day no:s, one row works but not several at the same time.

Probably this old man don't understanding this or maybe I messing it up in some way.

Does anyone have good tips on how to do this most smoothly and accurate, working each time?
Datumsortering.jpg
Datum all years.ods

Statistics: Posted by AfTech54 — Sat Dec 28, 2024 7:20 pm



Viewing all articles
Browse latest Browse all 1281

Trending Articles