Hi, and welcome to the forum.
canadiandevil wrote: ↑Sat Jul 22, 2023 1:51 pm
I realise autosum will only work on numbers (not text) - but shouldn't it be able to sum the results of functions?
You can find answers to many questions using Help. This is faster than asking questions here. In this case, both
Autosum button and
sum icon in the Help index will direct you to the explanation below.
Help → Index → sum icon wrote:Inserts the sum of a cell range into the current cell, or inserts sum values into selected cells. Click in a cell, click this icon, and optionally adjust the cell range. Or select some cells into which the sum values will be inserted, then click the icon.
Σ Sum
OpenOffice automatically suggests a cell range, provided that the spreadsheet contains data. If the cell range already contains a sum function, you can combine it with the new one to yield the total sum of the range. If the range contains filters, the Subtotal function is inserted instead of the Sum function. Click the Accept icon (green check mark) to use the formula displayed in the input line.
Based on that explanation, the Autosum
suggestion for the summands that you term
weird (the cells following the last SUM) seems reasonable to me. If the suggestion isn't what you want, change it before accepting the formula.
If the goal is to create a running total, I think that Autosum may not be a convenient feature to use. Perhaps you should be using filters. Perhaps you should be using a
Pivot Table (formerly called Data Pilot) or the Data → Subtotals feature instead of the
Σ icon. In the illustation below the rows in bold are created automatically by the feature. I can't tell what you might want until you provide your real spreadsheet.

- Created with Data → Subtotals
- 202307221052.gif (42.22 KiB) Viewed 1137 times
canadiandevil wrote: ↑Sat Jul 22, 2023 1:51 pm
If X is a sum function of a single cell, then it works ok.
But then X is not really a sum, it's just a copy of another cell. When D5 contains a number, formula
=SUM(D5) has the same value as formula
=D5. Read section
9. Using functions and cell ranges in
Ten concepts that every Calc user should know.
If you need
any additional assistance
attach a spreadsheet demonstrating the difficulty
(remove confidential information then use Post Reply, not Quick Reply, and don't attach a picture or screen capture instead of the spreadsheet itself).
I will not help further unless you attach a spreadsheet and explain your goal. You should explain how you determine which cells are to be summed.
If this solved your problem please go to your first post use the Edit ☐ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.6, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).