Description: If I pass a parameter to indirect() that references a cell that is in a different sheet the result is an invalid reference [#REF!] using indirect(B1) works but using indirect('Another Sheet'.B1) does not. Steps to Reproduce: 1.In a cell enter =indirect( 2.Choose a different sheet and select the target cell 3.close the ) to finish the function and #REF! results Actual Results: Received #REF! in the cell instead of expected value Expected Results: Value entered into the target cell Reproducible: Always User Profile Reset: Yes Additional Info:
(In reply to Bret Carver from comment #0) I can reproduce the "#REF!", but this seems to be not a bug. Steps: 1. Type "A2" in cell A1, sheet1 2. In another sheet, type in the formula "=indirect(<click cell A1 in sheet1>)" Current Result: 0. (Since sheet1.A1 is blank, the value 0 is expected). The "#REF!" error only appears when the referenced cell (i.e., sheet1.A2) does not contain any valid cell reverence. 版本: 7.0.0.0.alpha0+ Build ID: 0a6ec034dc8088d9de399142bb193ae7d338e645 CPU 线程: 4; 操作系统: Linux 5.4; UI 渲染: 默认; VCL: gtk3; 区域语言: zh-CN (zh_CN.UTF-8); UI 语言: zh-CN Calc: threaded Am I doing something wrong? I mark this as NEEDINFO. @Bret Carver: Would you please explain further.
Or please attach a sample file where to test the issue.
I notice that this bug occurs when working on Sheets imported from Excel into LibreOffice. Are your sheets originating from an Excel workbook? I have posted this bug report if you respond positively: https://bugs.documentfoundation.org/show_bug.cgi?id=132519 See also: https://ask.libreoffice.org/en/question/215844/syntax-for-indirect-to-access-another-sheet/?answer=241395#post-id-241395
Dear Bret Carver, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Dear Bret Carver, Please read this message in its entirety before proceeding. Your bug report is being closed as INSUFFICIENTDATA due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of our bug tracker Warm Regards, QA Team MassPing-NeedInfo-FollowUp
Apparently this is if the sheet name is enclosed in typographical single quotes (e.g. ’ U+2019 RIGHT SINGLE QUOTATION MARK) instead of ASCII single quotes ' U+0027 APOSTROPHE. Disable Tools -> AutoCorrect, tab Localized Options, replacement of single quotes (and best double quotes as well); or make otherwise sure the correct characters are used to quote a sheet name. Note that comment 0 uses apostrophe, but I doubt that's what the cell actually contained. But as there never was sample file attached..