Bug 159039 - Error:504 in Summary Sheet when Opening XLSX File in LibreOffice Calc
Summary: Error:504 in Summary Sheet when Opening XLSX File in LibreOffice Calc
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-05 16:10 UTC by chris.seiferth
Modified: 2024-01-19 21:40 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chris.seiferth 2024-01-05 16:10:15 UTC
Description:
I have an XLSX file containing client data, where each client has their own sheet. There is also a summary sheet that compiles all inputs made (e.g., male/female, country of origin, etc.). When I open the file in Excel 2016, the summary sheet counts and displays the data correctly without any errors. However, when I open the same file with the latest version of LibreOffice Calc (Windows and Linux) AND strangely the latest version of Microsoft Excel, I encounter an error in the summary sheet.
If it helps I also can submit the file.

Steps to Reproduce:
1. Open the specific xlsx file in LibreOffice Calc.
2. Navigate to the summary sheet.
3. Check the values/cells that are supposed to count data from other sheets.

Actual Results:
An error message "Error:504" is displayed when viewing the summary sheet in LibreOffice Calc.

Expected Results:
The summary sheet should correctly count and display data from other sheets without any errors, similar to how it works in Excel 2016.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Flatpak
Calc: threaded
Comment 1 chris.seiferth 2024-01-05 16:13:05 UTC
I can provide the file, but would only like to transmit it unpublicly.
Comment 2 Eike Rathke 2024-01-05 17:06:40 UTC
(In reply to chris.seiferth from comment #0)
> When I open the file in Excel 2016,
> the summary sheet counts and displays the data correctly without any errors.
> However, when I open the same file with the latest version of LibreOffice
> Calc (Windows and Linux) AND strangely the latest version of Microsoft
> Excel, I encounter an error in the summary sheet.
That also the latest Excel version complains rather suggests an error in the formula syntax that for whatever reason was silently accepted by earlier versions. Fwiw, Err:504 is "Error in parameter list".

Can you provide the formula expression where the error occurs first, along with its arguments passed? You can trace errors using Tools -> Detective -> Trace Error on a cell with error. Then on the originating cell use the Function Wizard to inspect what arguments are passed.
Comment 3 chris.seiferth 2024-01-06 17:37:46 UTC
unfortunately I cannot select the cell, because it is protected
Comment 4 QA Administrators 2024-01-07 03:13:07 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2024-01-19 21:40:09 UTC
Thank you for the report.
Unfortunately, without the formula, and without a sample file that lets us see the formula, there is no way we can figure out what the issue is.
Plus, having the same problem in both LO and MSO does make it seem like the issue is not on LO's side.
Closing as "insufficient data" but please set back to "unconfirmed if you can provide more information.