Description: After tdf#159687 improvement to shortcut the calculations with SUMPRODUCT at the last cell with data, is some cases the calculation is now broken. It returns #VALUE while the calculation it's fine with 24.2. Regression with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 42f6e89d5e6458966de452af2978f206115394af CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Works fine before the change with: Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Steps to Reproduce: Open attached file. Actual Results: . Expected Results: . Reproducible: Always User Profile Reset: Yes Additional Info: .
Created attachment 193603 [details] Sample to reproduce the issue
Perhaps a hard recalc is needed to view the issue.
Confirm with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f3d0a184c4da57907a1fcf1ed784340be7d974d6 CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Jumbo
(In reply to raal from comment #3) > Confirm with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community > Build ID: f3d0a184c4da57907a1fcf1ed784340be7d974d6 > CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3 > Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US > Calc: threaded Jumbo Thanks for the report, will check it soon.
Balazs Varga committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/969ddf72824942be9755a8d14482d6549a2231ce tdf#160616 - Fix SUMPRODUCT calculation is broken in some cases It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Tested in Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f61ffdfa1a56b1b1fa1aa4f269477e1d1d475955 CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: default Now Data - Calculate - Recalculate Hard does not result in #VALUE errors.