Apache OpenOffice (AOO) Bugzilla – Issue 127898
Array reference indirected to a nonexistent sheet is silently redirected to first sheet.
Last modified: 2018-09-19 02:26:47 UTC
Created attachment 86511 [details] see comment Refer to the attached example spreadsheet. Cells A1:A3 of each sheet contain keys A,B,C in distinctive orders. Columns B,C,D of Sheet2 locate (via MATCH) occurrences of Sheet2's keys on other sheets, whose numbers are designated in row 6. Column B uses indirection; the target sheet can be changed by changing B6. Play with it to see the following phenomena. When B6 is 1 or 3, column B agrees with column C (addressing Sheet1) or D (Sheet3) respectively. When B6 is outside the range 1-3, the formulas in B1:B3 refer to a nonexistent sheet. Calc does not report the error. It takes the first sheet to be the target instead. Thus B1:B3 becomes the same as C1:C3.