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


On Thu, 14 Nov 2013 07:07:53 +0200
Ady <ady-sf@hotmail.com> wrote:

Well, the procedure I mentioned involves copying one cell only, which 
means it is a faster method, as oppose to having to copy perhaps a 
lot of cells (e.g. a "whole" column; or having to add many new 
"VALUE" formulas; or having to add a new column and multiply by 1 
each cell and then paste special...).

I repeat the procedure that I posted before (which works correctly in 
other spreadsheet tools):

1_ In an auxiliary non-formatted cell, insert the number 1. 
2_ Copy that auxiliary cell. 
3_ Select the cells with numbers that are currently formatted as 
'text' that you want to convert. 
4_ Paste special (all), multiply. 
5_ Delete the auxiliary cell. 
Hunh! Well, you live and learn. I didn't know you could do this.

I see that this doesn't work, although using a formula of cell*1 does
work. In other words, when using a formula, if a cell is given as
input, and is text where a number is expected, an attempt is made to
use VALUE on the cell. If copying and pasting, the attempt is not made.

I'm not sure it is correct to ever do an implicit VALUE, but there is a
good argument for making this copy paste method consistant with the
behaviour of the function method.

Although the "Tools -> Text to Columns..." method in Calc is nice, 
the procedure I am describing is more flexible.
I'm not sure why you say it is more flexible. Text to columns would be
the "correct" way of doing this, and I can't right now think of a
case where you would need your way. Can you give an example?

-- 
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.