Another approach, tested with LibreOffice Calc: Create your formula for the first sample (first ten values), and then copy it as many times as you need it.
For example:
- To calculate the geometric mean of the first ten values (
A1:A10
), put the following formula intoB5
:
=GEOMEAN(A1:A10)
Select cells
B1:B10
(! - not onlyB5
);Drag the selection down as far as you need.
LibreOffice will copy the formula from B5
to B15
, B25
and so on, adapting the attribute range to B11:B20
, B21:B30
and so on.
EDIT:
To filter out the empty cells from Column B
, just add a header row and apply a AutoFilter
with condition Not Empty
. The result will look like this: