How do you add a constant to a group of cells in LibreOffice Calc?
For example, here are four cells:
47 28 35 62
Now add 3 to each cell:
50 31 38 65
Even easier, but overwriting the original values:
Result: the values are replaced by the result of the addition with the constant.
There are different ways to do this. The easiest one would be to use the auto-complete feature. Another approach suitable for more complex operations involves the
Given a spreadsheet holding the four "source" values and the constant, the result should start at B3:
Do the following:
As result, in B3:E3 the result of the addition will appear. Since it's the result of an array, you can delete it only after selecting the complete result array. Changing just B3 won't work.
If you don't want the result to behave as an array, just copy the result array, select
An additional sollution that also works in Office Excel:
mark the constant reference with $ for each position identifier :
now you can drag the formula to the right and only the first value updates while dragging.
original 47 28 35 62