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


At 20:29 09/08/2014 -0500, Wade Smart wrote:
I'm working on a sheet that has numbers for a sports club. At the moment we use two columns ...
What I would like to do is move to a single column design.

Example data:
B3=3
C3=7

What I would like to do is:
B3=3,7

How would I access the first or second value a pair value?

You have already seen how complicated things get if you try to extract two numbers - here 3 and 7 - from the three-character text string "3,7". There may be other ways of looking at this. I wonder why you wish to make the change; I can think of two reasons.

Do you want to be able to read or perhaps print the spreadsheet with the condensed version of the data? It's much simpler to go the other way: you can concatenate two values from separate columns using
=B3&","&C3
You could create an additional table with the condensed values which you would then use for reading or printing, perhaps defining a print range. You would copy values from your original table to the new one using the "=" operator, not using Copy and Paste, so that the values in your printing table followed changes to your original table and were not a fossilised copy.

Alternatively, perhaps you are pasting in values that already appear in the comma-separated form or that you simply prefer to type them this way. In that case, you could make use of Data | Text to Columns..., ticking Comma under "Separated by". This would split your text string "3,7" into two values in the current and following columns, also helpfully converting the text into numbers as it does.

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

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.