Description: We've found an issue with some .xlsx documents that use VSTACK() function. LibreOffice has support for this function, but only for full parameter format. However, some other programs produce documents with short parameter format, which results in Err:504 error. Example: Here's the short format that works in cloud Excel: =VSTACK(Sheet1:Sheet4!A1:F2) This formula will produce Err:504 in all related cells. Here's the full format of the same formula: =VSTACK(Sheet1!A1:F2; Sheet2!A1:F2; Sheet3!A1:F2; Sheet4!A1:F2) This works fine in LibreOffice. Steps to Reproduce: There's a small simple synthetic file attached to the bug. Download the file and open it in LibreOffce. 2. Switch to Sheet 5 — there will be Err:504 errors 3. Fix formula so it would use full parameters format: =VSTACK(Sheet1!A1:F2; Sheet2!A1:F2; Sheet3!A1:F2; Sheet4!A1:F2) — now Sheet 5 contains data from all other sheets. Actual Results: Sheet 5 contains Err:504 errors in cells from A1 to F8. Expected Results: Fix formula so it would use full parameters format: =VSTACK(Sheet1!A1:F2; Sheet2!A1:F2; Sheet3!A1:F2; Sheet4!A1:F2) Now Sheet 5 contains data from all other sheets. Reproducible: Always User Profile Reset: No Additional Info: I've tested it on my MacOS, but the same happens in linux as well.
Created attachment 202643 [details] Test file with short VSTACK parameters Test file with short VSTACK parameters — doesn't currently work in LibreOffice
Created attachment 202644 [details] Test file with full VSTACK parameters Test file with full VSTACK parameters — works well in LibreOffice
Created attachment 202645 [details] Screenshot of a failed document
Created attachment 202646 [details] Screenshot with full parameters format which works
Thanks for reporting this issue. I can reproduce it in Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 09a48f45d9a3e72ab761e6808701362c9c0b2e51 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded Since I implemented the support for VSTACK function, I'll take a look at some point
Same behaviour with the TOCOL, TOROW functions