Mar 14 2021 11:21 PM - edited Mar 14 2021 11:23 PM
I often construct formulas by typing "=function..." and selecting the cell ranges by mouse or cursor.
When a formula refers to a cell on the same sheet, the sheet name is not needed in the reference and Excel does not include it. References to cells on other sheets require the sheet name and Excel inserts it.
However, Excel does insert the sheet name for references to cells on the same sheet as the formula, if another sheet has been referred to earlier in the formula.
Anyone know why it behaves this way? It causes errors if the formula is later sorted.
I have trained myself to manually remove the unwanted sheet references but is there a better way?
Please see the attached file.
Thanks
Excel 2016 on Windows 10
Mar 15 2021 01:22 AM
Excel has always behaved this way - once you switch to another sheet while constructing a formula, it will add the sheet name to all cell references. I assume that the developers set a flag to True when you switch to another sheet, and don't bother to reset it when you switch back to the sheet with the formula.
Although I find it mildly annoying, I have never experienced problems caused by this...
Sep 20 2021 11:37 PM
Oct 20 2021 10:46 PM