Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Am 09.09.2012 11:54, Tinkerer wrote:
Use the extension CT2N.
It Converts Text to Numbers.

Simples.

Tink.




Nobody needs to install any extension to convert between numbers and text. CT2N may fail in this situation (dmy vs. mdy). If all the dates have been imported as text, a simple regex replacement converts in both directions. It would be better to simply import correct values instead of fixing wrongly imported ones.

James knows how to import correct values but he expects automagic number formatting. The program should analyse the assumed formatting of the input strings and apply the corresponding number format codes to the respective target cells. Spreadsheets don't do that. Formatting has zero relevance for the tasks spreadsheets are designed for. Only values (numbers) are relevant.

James Majeske wrote:

I receive dates in three different formats; big endian [31 Dec 2012], mixed
endian [Dec 31, 2012], and small endian [2012-12-31] (also known as
ISO8601).

With US loale setting and "detect special numbers" any of the above input strings yield cell value 41274 preformatted to show 41274 as "12/31/12" which is obviously and unambiguously the correct value. This value can be formatted at will and sorted by its numeric value.



--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.