Re: Merging the contents of two columns into a single column.
For what I am doing this method worked perfectly. I would have loved to
have these instructions in the help pages.
Thanks Brian and Rob.
I am now starting to think of all kinds of ways to use this.
-----Original Message-----
From: Brian Barker
Sent: Wednesday, January 28, 2015 8:02 PM
To: users@global.libreoffice.org
Subject: Re: [libreoffice-users] Merging columns, not cells
At 18:01 28/01/2015 -0800, Mark Howe wrote:
Can you give me an example of a concatenation formula for a column of text
merged with a column of numbers?
The resulting column would have the text and number in one cell.
You can concatenate values using the CONCATENATE() function or - more
easily - using the & operator. I'm guessing that you might want an
intervening blank between your text and the number, so you need something
like
=CONCATENATE(A1;" ";B1)
or just
=A1&" "&B1
This works equally with numbers, which are naturally converted to
text on the fly. But remember that the number stored in a cell is not
necessarily what you can see: this is also influenced by the cell
formatting. The cell formatting of the number is not respected by the
automatic conversion, which instead uses the full expression of the
stored (or calculated) value. So you may instead wish to control this
conversion using the TEXT() function, e.g.
=A1&" "&TEXT(B1;"0.000")
The format codes used in the TEXT() function are the same as you use
(and can see) in the "Format code" box of the Format Cells dialogue.
I trust this helps.
Brian Barker
--
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
--
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
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.