Bug 154243 - EDITING: copy lookup formula from other file does no longer work
Summary: EDITING: copy lookup formula from other file does no longer work
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-External-Datalink
  Show dependency treegraph
 
Reported: 2023-03-17 14:56 UTC by ron
Modified: 2025-07-25 08:48 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
A file with a data table (9.90 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-03-17 14:56 UTC, ron
Details
A file with a lookup formula (10.01 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-03-17 14:58 UTC, ron
Details
A file with the copied lookup formula (9.55 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-03-17 15:00 UTC, ron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ron 2023-03-17 14:56:47 UTC
Created attachment 186027 [details]
A file with a data table

I used to make extensive calculations by copying small spreadsheet files into a new one.
These small files may contain lookup formulas to other files.
In version 7.5.1.2 this no longer works (To be honest it also didn't work in earlier versions, but I don't know from which version.)
When this lookup formula is copied to a new file, the link to the data file disappears.
Original formula in file Lookup.ods: =VLOOKUP(A2;'file:///D:/DATA.ods'#$Blad1.A1:B4;2)
Copied file in Geen titel 1.ods: =VLOOKUP(A2;;2)
Comment 1 ron 2023-03-17 14:58:08 UTC
Created attachment 186028 [details]
A file with a lookup formula
Comment 2 ron 2023-03-17 15:00:34 UTC
Created attachment 186029 [details]
A file with the copied lookup formula

The link text ( 'file:///D:/DATA.ods'#$Blad1.A1:B4 ) is disappeared
Comment 3 Eike Rathke 2023-03-17 16:21:56 UTC
I think this never worked. Tried with LO 5.3 and same. With old OOo 3.3 the cell range is preserved but without file name, ''#$Blad1.A1:B4
Comment 4 ron 2023-03-20 08:13:13 UTC
As soon as there is 1 link active, other links can be added by copying without a problem.
Maybe I used to start with a file with an active link.
Comment 5 Eike Rathke 2023-03-27 12:13:31 UTC
If one formula with a correct external reference was entered already, the external document cache is populated for that external file, which makes a whole lot of difference.
Comment 6 QA Administrators 2025-05-15 03:12:37 UTC Comment hidden (obsolete)
Comment 7 ron 2025-07-15 07:48:45 UTC
The bug is stiil present in:
Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: threaded
Comment 8 Regina Henschel 2025-07-25 08:46:34 UTC
Workaround: Paste the formula using the item "LibreOffice Spreadsheet" from the paste drop-down list.

See also bug 143225 and bug 131633.
Comment 9 Regina Henschel 2025-07-25 08:48:55 UTC
(In reply to Regina Henschel from comment #8)
> Workaround: Paste the formula using the item "LibreOffice Spreadsheet" from
> the paste drop-down list.
> 
Forget it. Does not work.