-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
On 7/12/2012 1:53 PM, Doug wrote:
> On 07/12/2012 11:28 AM, Gilles wrote:
>> Hello
>>
>> A cell contains a negative number that I need to turn into a
positive, eg.
>> -123 becomes 123.
>>
>> I checked the Math section, but didn't find a function to do this:
>>
>> http://help.libreoffice.org/Calc/Mathematical_Functions
>>
>> Is there a way?

> Can't you multiply by -1?



That depends on the desired result. If you want all numbers to be
positive, you need to use ABS(). If you want to change the values of all
numbers (positives become negatives and negative become positives),
you'd multiply by -1.

- -- 
Steven Shelton
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAk//M4gACgkQXUonIzCvpdNdDgCgkfnpjTfmjhubyhjbE+OOOx3A
/HEAn0Fw4IjtyPCYE9K5hzgTCvST1uJS
=WaqI
-----END PGP SIGNATURE-----


-- 
For unsubscribe instructions e-mail to: users+h...@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

Reply via email to