Created attachment 140534 [details] Example file with database table If we create a table in Microsoft Excel and refer to the table’s column in a function with an external *.xlsx file and open it with LibreOffice Calc, the reference file link will disappear/transform [1] and the [Column1] named range will be treated as an external file. Steps to reproduce: 1. Create a new spreadsheet with Microsoft Excel 2010/2013/2016 2. Insert a table to the A1:A5 range. 2. Fill the A2:A5 cells with some number. Save the file as “Source.xlsx” 3. Open a new spreadsheet and create an Avarage function, which refer to the [Column1] of [Table1] of the “Source.xlsx” file in the A1 cell. Here is an example: =Average('C:\Users\teszt_admin\Desktop\ujproba_link\Reference-to-an-external-datatable\Source-with-datatable.xlsx'!Table1[Column1]) 4. Save the file as “Target.xlsx” 5. Open the “Target.xlsx” file with LibreOffice Calc. (Click OK to the Error message) 6. Save the file as “Target_LO.xlsx” and reload the file. Actual results: When we open (Import) the “Target.xlsx” file with LibreOffice Calc we got an Error message: The following external file could not be loaded. Data linked from this file did not get updated. file:///C:/Users/teszt_admin/Desktop/ujproba_link/Reference-to-an-external-datatable/Column1. Open the ‘Links to external files’ window and you will see the Column1 as file reference. At the function the reference file path will transform from the original path to [1] and we have an Error:508 code in the A1 cell. When we save as the “Target.xlsx” file and reload we got two error message because of the two “file reference”. At the ‘Links to external files’ window you will see that the Source file name will be “1” and the “Column1” will be there. Expected results: The external file reference should not disappear or transformed to [1] and the [Column1] reference should not be at the file Links. The problem may be that the column name and the filename are not separated locally in the function formula. LibreOffice only takes into consideration that the column name is in a stapler “[]” just like the file name in the Excel syntax. Version: 6.0.0.3 Build ID: 64a0f66915f38c6217de274f0aa8e15618924765 CPU threads: 4; OS: Windows 6.1; UI render: default; Locale: hu-HU (hu_HU); Calc: group
Created attachment 140535 [details] File referencing the database range in the other file - made with LO 6.0
Created attachment 140536 [details] Screenshot of the files in LO
Assuming this is confirmed by the Hungarian team -> NEW
*** This bug has been marked as a duplicate of bug 76047 ***
Created attachment 166146 [details] Example file made with Excel 2013 Somehow we forgot to upload the original file. If both the attachment #140534 [details] and this one is open in Excel, the AVERAGE function in this one can recalculate after changes in the source file. Calc cannot do this after opening both files in order.
Dear Gabor Kelemen, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Reproduced in recent trunk build: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 31fb3045dabdb27d913712f3abcade315e3ea9bd CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded