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.
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.
您无法将一系列单元格A1:AV7000
直接与单个单元格(如F1
. 我怀疑你可能想将VLOOKUP
第一个范围的 a 与ISNA
函数结合起来,也许?
=IF(ISNA(VLOOKUP(F1,A1:AV7000,1,FALSE)),0,VLOOKUP(F2,B1:C7000,2,FALSE))
然而,正如所写的那样,这个公式是无稽之谈。您正在寻找单元格中的值,F1
但范围A1:AV7000
包含F1
所以VLOOKUP
总是会成功
这个问题可能已经解决了,但是,VLOOKUP 在大型数据集上相当慢;MATCH 通常是一种更快的方法