Excel公式问题
请检查下面的书面公式,如果公式不正确,请向我提供与此相关的正确公式。
IF(A1:AV7000=F1,vlookup(f2,B1:C7000,2,0),0)
正如我尝试过上面写的公式,但它不起作用。
Kindly check the below written formula, if the formula is not correct then please provide me the correct one that is related to this.
IF(A1:AV7000=F1,vlookup(f2,B1:C7000,2,0),0)
As I have tried above written formulas, but it's not working.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您无法将一系列单元格(例如
A1:AV7000
)直接与单个单元格(例如F1
)进行比较。我怀疑您可能想将第一个范围上的 VLOOKUP 与 ISNA 函数结合起来,也许?然而,正如所写,这个公式是无稽之谈。您正在查找单元格
F1
中的值,但范围A1:AV7000
包含F1
,因此VLOOKUP
始终为将会成功You can't compare a range of cells like
A1:AV7000
directly to a single cell likeF1
. I suspect that you probably want to combine aVLOOKUP
on the first range with theISNA
function, perhaps?As written, however, this formula is nonsense. You are looking for the value in cell
F1
but the rangeA1:AV7000
containsF1
so theVLOOKUP
is always going to succeed这个问题可能已经解决了,但是,VLOOKUP 在大型数据集上相当慢; MATCH 通常是更快的方式
This question may already have been solved, but, VLOOKUP's are rather slow on large data sets; MATCH is usually a faster way to go