Bug 68034

Summary: Goal Seek unsuccessful if variable cell is empty
Product: LibreOffice Reporter: Eike Rathke <erack>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: ilmari.lauhakangas, paul
Priority: medium    
Version: 3.6.7.2 release   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 109136    

Description Eike Rathke 2013-08-12 21:04:44 UTC
New spreadsheet
A1: =SQRT(B1)
Do not enter any value in B1

Tools->GoalSeek
Formula cell: $A$1
Target value: 2
Variable cell: $B$1

OK => not successful, closest value 0

Expected: successful, value 4
Comment 1 Eike Rathke 2013-08-12 21:52:43 UTC
Detail: current implementation needs an existing value cell as variable cell that can be changed and the change broadcasted to recalculate the dependent formula cell(s). Probably that value cell needs to be temporarily added to the document if it doesn't exist. Needs to be checked though if doing so would interfere with ChangeTracking or cell protection or have other unwanted side effects.
Comment 2 Buovjaga 2018-06-18 07:01:46 UTC
*** Bug 117760 has been marked as a duplicate of this bug. ***
Comment 3 Buovjaga 2018-06-18 07:02:42 UTC
On testing the duplicate, I noticed that it succeeds in 3.5.0, but maybe this is not news to you.