Bug 130180 - copying sheets, even together, breaks formulas that link between them
Summary: copying sheets, even together, breaks formulas that link between them
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-24 19:31 UTC by Kevin
Modified: 2020-01-25 19:42 UTC (History)
1 user (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 Kevin 2020-01-24 19:31:54 UTC
Copying multiple sheets, I want formulas that refer between the sheets to point to the new copies.  Instead they point back to the originals.  With many such formulas it is hard-to-impossible to fix them all without error.

A good test is to create a spreadsheet with two sheets, and create formulas between them.  Then "select all sheets" and copy to a new empty spreadsheet.  Then look at the links.
Comment 1 m_a_riosv 2020-01-25 19:42:25 UTC
It's simple you must avoid the reference to the sheet being absolute.
With:
=$Sheet1.a1 refers to the original file, what it right it is an absolute reference.

but instead using
=Sheet1.a1 do as you like, again it does right not carrying the reference the the original file.