[英]Excel 2010: How can I change formulas across multiple cells without modifying their input values?
I would like to bulk-change formulas across multiple cells without altering the input value. 我想在多个单元格之间批量更改公式,而无需更改输入值。 Is there a way to make this change without going cell by cell, or creating a macro to go cell by cell, and manually replacing the formula type? 有没有一种方法可以进行此更改,而无需一个接一个的单元格,或者创建一个宏来逐个单元格地移动,而无需手动替换公式类型?
When I say input values, I mean the contents of the parenthesis, following a given formula; 当我说输入值时,我指的是括号内的内容,遵循给定的公式; which, in this case, is the "(number, significance)" values which are specific to each cell. 在这种情况下,它是特定于每个单元格的“(数量,重要性)”值。
For example: 例如:
I have a column of cells which contain something like the following, 我有一列包含以下内容的单元格,
I want to change every function within those cells to =CEILING without changing the inputs, so that 我想将这些单元格中的每个函数更改为= CEILING而不更改输入,因此
Specific Considerations: 具体注意事项:
I am not familiar with macros, and I won't be surprised if there is no alternative means to automate the changes; 我对宏不熟悉,如果没有其他方法可以自动执行更改,我不会感到惊讶。
I am using Excel 2010, MSFT Office Pro; 我正在使用Excel 2010,MSFT Office Pro;
The spreadsheet is a quantity takeoff, where all values within the parenthesis of each cell's formula are input manually and reflect different linear foot values from architectural plans; 电子表格是一个量清单,其中每个单元格公式的括号内的所有值都是手动输入的,并反映出建筑计划中不同的线性支脚值;
The group of cells I want to change are all contained in the same column; 我要更改的单元格组都包含在同一列中;
The CURRENT formula (the one I want to replace) is the same for every cell, and it is =ROUNDUP; 每个单元格的CURRENT公式(我要替换的那个)是相同的,它是= ROUNDUP;
The PROPOSED formula (the one I want to replace the current formula) is the same, and I want it to be =CEILING; 提议的公式(我要替换当前公式的那个)是相同的,并且我希望它是= CEILING; and 和
I REQUIRE that the contents of the parenthesis remain unchanged. 我要求括号的内容保持不变。
I've tried to make sure this is not a duplicate question, but my apologies if I just didn't find the original. 我试图确保这不是一个重复的问题,但是如果我找不到原始问题,我深表歉意。 Thank you for your help! 谢谢您的帮助!
All you need to do "Ctrl+f", then go to "Replace" tab. 所有您需要做的“ Ctrl + f”,然后转到“替换”选项卡。 In textbox for "Find what:" write "ROUNDUP" and in textbox for "Replace with:" write "CEILING". 在“查找内容:”文本框中输入“ ROUNDUP”,在“替换为:”文本框中输入“ CEILING”。 On last step, click "Replace All" button. 在最后一步,单击“全部替换”按钮。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.