Description: XLOOKUP across files does not work correctly. XLOOKUP within the same ods file works correctly. VLOOKUP works fine. Steps to Reproduce: 1.write "tiger" in cell B2 and "woods" in cell C2 2.write "woods" in cell B3 and "tiger" in cell C3 3.save sheet as "fR" and file as "Fr.ods" 4.start new file To.ods, sheet "To" 5.in cell B2, write "tiger" 6.in cell C2, enter formula =XLOOKUP(B2,'file:///tmp/Fr.ods'#$fR.B$1:B$1048576,'file:///tmp/Fr.ods'#$fR.C$1:C$1048576) Expected Results: woods Reproducible: Always User Profile Reset: No Additional Info: * XLOOKUP of string not in remote file results in "#N/A" as expected * VLOOKUP works correctly, results in "woods" =VLOOKUP(B2,'file:///tmp/Fr.ods'#$fR.B$1:C$1048576,2,0) * XLOOKUP within the same ods file works correctly, results in "woods" if you move sheet [Fr] into same file 'To.ods' as where the XLOOKUP is running
Created attachment 197734 [details] Sample files as described in the bug report: Fr.ods
Created attachment 197735 [details] Sample files as described in the bug report: To.ods
software: LibreOffice-24.8.3.2.basic-x86_64.AppImage source : https://appimages.libreitalia.org/portable/LibreOffice-24.8.3.2.basic-x86_64.AppImage
Expected Results: "woods" Actual Results: "0" Reproducible: Always
Thank you for reporting the bug. I can confirm that the bug is present in Version: 24.8.3.2 (X86_64) / LibreOffice Community Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92 CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Thank you for reporting the bug. I can confirm that the bug is present in Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 869fff459cbee6a2edadd5c24f2b65c199712de6 CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
As the function is new in 24.8, let's assume implementationError
Maybe the same issue as in tdf#89013 "Regular expressions doesn't work with MATCH and VLOOKUP when searched range is in other file."