[英]Populating blank cells with a formula in Excel (without VBA)
eg 例如
(NB All the following actions reference the same cell) (注意,以下所有操作均引用同一单元格)
Is this possible without VBA, or is there a reasonable work around? 没有VBA,这是否可能?或者有合理的解决方法?
I'm not sure how you plan to do all of that without VBA. 我不确定您打算如何在没有VBA的情况下完成所有这些工作。 I'm not and Excel wizard, but I don't think it can done without VBA.
我不是Excel向导,但我认为没有VBA不可能完成。 There is some intelligence needed in your procedures that can not (I believe) be performed with simple functions.
您的过程中需要一些智能,这些智能无法(通过我相信)通过简单的功能执行。
AFAIK this is not possible. AFAIK这是不可能的。
Obviously, when you write a value you are overwriting the pre-existent formula. 显然,当您编写一个值时,您将覆盖先前存在的公式。 So you need to store the formula somewhere else to be able to restore it.
因此,您需要将公式存储在其他地方才能恢复它。 But as the circular reference detection in Excel is "static", it is forbidden for a formula to write to another cell.
但是由于Excel中的循环引用检测是“静态”的,因此禁止将公式写入另一个单元格。 You can look for example at the UDF feature , where this is clearly stated out.
例如,您可以查看UDF功能 ,其中明确指出了这一点。
The only other place I know to store (and execute) something within the Excel environment is VBA code ... 我知道在Excel环境中存储(和执行)某些内容的唯一其他地方是VBA代码...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.