[UNSOLVED/UNREPLICATED] Why inconsistent calculation outcomes with linked spreadsheets?

asked 2018-07-08 18:03:40 +0200

taxedserf gravatar image

updated 2018-07-21 20:44:26 +0200

LibreOffice Calc Version: running on Linux Mint Xfce 18.3.

Two workbooks in the same linked suite of workbooks.

One workbook calls the following function and, after numerous manual attempts to update it (Edit Links > Update), eventually it pulled the correct number into the destination cell:


A different workbook in the same suite of workbooks calls the following function and, after numerous manual attempts to update it (Edit Links > Update), it fail to pull the correct number into the destination cell. The return value is incorrectly zero.


These functions work correctly, without incident, in their Excel original formats in Excel 2000-2016 running on Windows 7x64 and Window 10x64 (and have been for years).

What is the root cause?

What is the end-user's solution?

edit retag flag offensive close merge delete


A short try with an external document that contains global names LUAC and LUV pointing each to a column range where LUAC contains x and LUV contains 42 in the same row and using your second formula with the proper document name and x in cell B10 returns 42 as it should.

If you enter ='file:///home/user/grive/PRIV/Accounts/Ye2019%20Linux/accs-%20Automatic%20accounts%202019.ods'#LUAC as array formula (close with Shift+Ctrl+Enter), does it display the expected values of LUAC?

erAck gravatar imageerAck ( 2018-07-08 20:59:19 +0200 )edit

No. It fails to create an array formula (I'm expecting enclosure by { and }, as in Excel). Thus, there is no change, the formula that doesn't work still doesn't work.

taxedserf gravatar imagetaxedserf ( 2018-07-13 23:17:33 +0200 )edit

I have created a redacted version of the two sheets, with images of their content in their "live" environment. https://drive.google.com/file/d/1t7wM...

taxedserf gravatar imagetaxedserf ( 2018-07-13 23:38:36 +0200 )edit

It would be nice if at least the file name of the external referenced document would match the name used in the formula expression.. However, the file accs- Automatic accounts 2019 debug anon.ods does not have any named ranges or database ranges, so that example can't work anyway.

erAck gravatar imageerAck ( 2018-07-14 20:21:02 +0200 )edit

For the array formula test, make sure you close the input with Shift+Ctrl+Enter

erAck gravatar imageerAck ( 2018-07-14 20:22:58 +0200 )edit

Looks like the redaction process removed the named ranges, which didn't help (!!), and the files needed to be renamed to make them different from the originals. Test data clearly flawed. It demonstrates why testing spreadsheets is actually rock hard. I'll close this issue as unsolved/unreplicated and raise another issue when the incident recurs.

It's frustrating, because I cannot get Calc to work as reliably as Excel. It undermines the project to leave Microsoft!

taxedserf gravatar imagetaxedserf ( 2018-07-21 20:44:09 +0200 )edit