简体   繁体   English

在没有VBA的不同像元上输出公式的结果

[英]Output result of formula on different cell without VBA

Is it possible to output the result of a formula on a different cell without the use of VBA and without directly reffering to the cell containing the formula (eg writting =C1 into the output cell)? 是否可以在不使用VBA且不直接引用包含该公式的单元格的情况下在另一个单元格上输出公式的结果(例如,将=C1写入输出单元格)?

I know that this can be easily done with the help of VBA, but I was wondering if there really is no simpler way to achieve this. 我知道在VBA的帮助下可以轻松完成此操作,但是我想知道是否真的没有更简单的方法来实现此目的。

As far as I know all formulas display their results within the cell they occupy. 据我所知,所有公式都在它们占据的单元格中显示其结果。

if you want to pull a value from a cell without directly referencing the cell address, you could indirectly by using the offset function. 如果要从单元格中提取一个值而不直接引用该单元格地址,则可以通过使用offset函数间接地进行。 However even the offset function needs to reference at least one cell on the worksheet. 但是,即使偏移函数也需要引用工作表上的至少一个单元格。

I don't think so, if you dont want VBA then all I can think of is to lock the cells so they can't be updated. 我不这么认为,如果您不想要VBA,那么我能想到的就是锁定单元格,以便它们无法更新。

How to lock just a range of cells 如何仅锁定一定范围的单元格

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM