Newbie here. This question is about spreadsheets (Excel / LibreOffice Calc / Google Sheets ...).
I have a dataset in a column. And I want to average all the non-empty values of the column except for the very last.
Example: Dataset is 1, 2, 3, 4, 5, 6, 7, 8 and I want to average everything minus the 8.
The formula I'm looking for should be kind of "dynamic", because if tomorrow I add data point 9, I want the formula to average everything 1 to 8, ignoring 9, keeping track of all the column.
How do I do that? I've tried several things, googled extensively and I can't find anything.
EDIT: Also, the SUM of all points minus the last.
Thanks to whoever might help.
Alex