[英]MS Excel. Remove part of formula which varies throughout a range of cells
I had this problem: I wanted to delete part of formula which varied across a range of cells ( E12, E13, E14, ..
) so I wasn't able to use "Find and replace". 我遇到了这个问题:我想删除部分公式(在
E12, E13, E14, ..
范围内变化),因此无法使用“查找并替换”。 Specifically, I wanted to delete the second VLOOKUP
function from the formula below and replace "Month7-15" with "Month6-15": 具体来说,我想从下面的公式中删除第二个
VLOOKUP
函数,并将“ Month7-15”替换为“ Month6-15”:
Formula to edit: 要修改的公式:
= IFERROR(VLOOKUP(E12, 'Month7-15'!$A$5:$B$353, 2, FALSE) - VLOOKUP(E12, 'Month7-15'!$A$5:$B$353, 3, FALSE), "no data")
Same guy as above 与上述相同
VLOOKUP
function will be deleted. VLOOKUP
函数将被删除。 Because my range of cells was so big, this REPLACE
didn't work after index exceeded row 100 - so, I had FALSEE
instead of FALSE
. REPLACE
无法正常工作-因此,我使用FALSEE
而不是FALSE
。 I solved this in the next point. FALSEE
by find and replace to FALSE
FALSE
解决了FALSEE
的问题 NB. 注意 I couldn't just use one formula to drag it down as many rows I had because I had different references as well as hard-coded values for some rows.
我不能只使用一个公式将其向下拖动到我拥有的许多行中,因为我有不同的引用以及某些行的硬编码值。
Hope this helps people. 希望这对人们有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.