Hallo.
I have a series of data. Here you have a small sample (this data is
placed into a column A):
,,08,01,17,27,13
,,08,01,17,27,14
,,08,01,17,27,15
,,08,01,17,27,16
,,08,01,17,27,17
,,08,01,17,27,17
,,08,01,17,27,18
,,08,01,17,27,18
,,08,01,17,27,19
,,08,01,17,27,20
,,08,01,17,50,47
Each cell must be formatted into a proper date & time format. I'm
achieving this using the following formula in column B (the following
example corresponds to cell No A1):
=REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(A1;1;1;"2013");11;1;"
");5;1;"-");8;1;"-");14;1;":");17;1;":")
As the result I get this in cell B1:
2013-08-01 17:27:13
My question: Is there a way to simplify the formula? However it works,
it doesn't seem to be very elegant right now.
Regards,
gordom
--
To unsubscribe e-mail to: users+unsubscribe@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
- [libreoffice-users] [Calc] how to make this formula more "compact"? · gordom
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.