Bug 168218 - Calc change formular teilergebnis on ope
Summary: Calc change formular teilergebnis on ope
Status: RESOLVED DUPLICATE of bug 168013
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-01 06:11 UTC by Thomas Sommer
Modified: 2025-12-05 06:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Bug Teilergebnis (subtotal) (102.56 KB, image/jpeg)
2025-09-01 06:11 UTC, Thomas Sommer
Details
Calc spreadsheet with SUBTOTAL example in ods format (13.96 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-10-10 16:39 UTC, Pavel
Details
Calc spreadsheet with SUBTOTAL example saved in xls format (18.00 KB, application/vnd.ms-excel)
2025-10-10 16:40 UTC, Pavel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Sommer 2025-09-01 06:11:33 UTC
Created attachment 202626 [details]
Bug Teilergebnis (subtotal)

opening a calc sheet, 
cells with the funktion subtotal (Teilergebnis) kills the default Range.

I create a formular with =TEILERGEBNIS(9;I7:I159) 

The last entry a the moment is in Cell I59
LibreOffice change the formular to : =TEILERGEBNIS(9;I7:I59)

Problem is that thee Sheet fills up with new entry and we habe at last an entry in i76 and so Clac will noch calculate the new entrys!

That is Bug with the Versions from 25.x and shoud be fix quickly!
Comment 1 Thomas Sommer 2025-09-01 08:05:35 UTC
LibreOffice 24.8.7 works correkt.
LibreOffice 25.2.5 works correkt.
LibreOffice 25.8.1 not working
if File format ius Excel (xlsx)
ODT works correct!
Comment 2 m_a_riosv 2025-09-01 10:42:09 UTC
Calc doesn't support dynamic arrays, see:

tdff#127808
Comment 3 Thomas Sommer 2025-09-01 11:18:59 UTC
why does it works with ods Files but not with XLSX?
TThis is not a dynamic Array. it a formula!
Comment 4 m_a_riosv 2025-09-01 15:29:39 UTC
It's a formula that must change the result vector, according to the changes on the input range and the criteria. That's a dynamic array.
Comment 5 Thomas Sommer 2025-09-01 16:27:37 UTC
A BUG IS A BUG!

LibreOffice 24.8.7 works correct with taht in XLSX!
LibreOffice 25.8.1 doesn't!
Comment 6 Werner Tietz 2025-09-01 19:31:43 UTC
Nobody can confirm by looking on a screenshot!

Please attach a .ods file
Comment 7 Pavel 2025-10-10 16:39:16 UTC
Created attachment 203250 [details]
Calc spreadsheet with SUBTOTAL example in ods format

Calc spreadsheet with SUBTOTAL example in ods format
Comment 8 Pavel 2025-10-10 16:40:10 UTC
Created attachment 203251 [details]
Calc spreadsheet with SUBTOTAL example saved in xls format

Calc spreadsheet with SUBTOTAL example saved in xls format
Comment 9 Pavel 2025-10-10 17:02:49 UTC
Comment on attachment 203251 [details]
Calc spreadsheet with SUBTOTAL example saved in xls format

Similar affect SUBTOTAL function, in file saved as XLS

Example file where formula in "J6" cell is changed, when file is saved as XLS
ODS Original J6 "=SUBTOTAL(9;J7:J21)"
XLS format saved J6 "=SUBTOTAL(9;J6:J7)"
Effect are in other SUBTOTALS formulas, where cells being added are located below the formula cell.
Formula in J50, where SUBTOTAL adds cells placed over formula cell works well.

If the XLS file open in LO 25.2.5.2, SUBTOTAL works corectly, same if open in MS Excel 2021
Comment 10 m_a_riosv 2025-10-10 22:34:04 UTC
Reproducible saving as XLS, but the issue seems to be at opening, because XLS saved with 25.8.2.1 open fine with other version as 25.8.3.0.0+
The issue is there even in Safe Mode.
Version: 25.8.2.1 (X86_64)
Build ID: 345526217a4027cb1b9ab39bd7153c8c141a1d64
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded


But works fine with
Version: 25.8.3.0.0+ (X86_64) / LibreOffice Community
Build ID: f8a323604ed37f916236d3a8b640732b93a2a568
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
AND
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bc74f11ee12112237af8e8ba5adbe01198bba06f
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 11 Werner Tietz 2025-10-11 07:28:50 UTC
(export to »excel 97 .xlx« ) confirmed with:
```
Version: 25.8.2.2 (AARCH64) / LibreOffice Community
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Flatpak
Calc: threaded
```

but works with:
```
Version: 25.2.3.2 (AARCH64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Debian package version: 4:25.2.3-2+deb13u2
Calc: threaded
```
Comment 12 nobu 2025-12-05 06:39:48 UTC

*** This bug has been marked as a duplicate of bug 168013 ***