How to calculate an absolute value in LibreOffice Calc?

Hannibal_1320 Posted messages 2 Status Membre -  
Raymond PENTIER Posted messages 58548 Registration date   Status Contributeur Last intervention   -
Dear friends,
My question is multiple...
1) Absolute value for a negative number in a single cell. I notice that the supposed formula does NOT always work on the same spreadsheet. It is the formula =ABS(-56).
2) How can I obtain the absolute value of the sum of several cells (with opposite signs) without having to copy the cell references one by one, as the formula does not seem to work if one selects multiple cells, a range written with a colon like A4:A15...
How should I do to get a sum in absolute value from cells containing formulas and from which I only wish to use the value, the result.
Thank you for any guidance you can provide.

4 réponses

Pierr10 Posted messages 13777 Registration date   Status Modérateur Last intervention   5 815
 
Hello,

I don't understand what the problem is with the first question (and I don't really see the point)

For the second question, simply type =ABS(SUM(C5:D8)) to get the absolute value of the sum of the numbers contained in the range C5:D8 (for example)
It should work in all cases regardless of the content of the cells.
0