On 17/03/14 13:25, Brian Barker wrote:
At 11:43 17/03/2014 +0000, Budgie Noname wrote:
In short I am having to "massage" a .csv file exported from one system
before importing it into an accounting system. The accountant wants a
"Comment" column added before importing the file which summarises
information held in four other columns. Two columns contain names and
do not present a problem but the other two have dates. In the .csv
file the dates are shown 02-Oct-14 and I am having trouble getting
these dates treated as text.
To get the names I have:-
=B2&" "&C2 but how do I copy the dates?
If you have real dates in the columns and you need to include them as
text in the additional column, just use TEXT(D2;"DD-MMM-YY") where you
would otherwise use D2 in your formula, and so on.
But if you mean that your original CSV file has these dates in this
format, there is an easier way. When you open the CSV file, you should
see the Text Import dialogue. Under Fields, click in the date columns
and then select Text from the drop-down menu against "Column type". The
dates will be imported as text and you will not need the above workaround.
I trust this helps.
Having managed to write the comment column with your help I have another
problem. The contents of the comment cells comprise elements put there
by the formula. How may I "freeze" them as text so that I may delete
the columns used by the formula?
To unsubscribe e-mail to: email@example.com
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
Impressum (Legal Info)
: 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