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.

4

2 回答 2

1

您无法将一系列单元格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总是会成功

于 2010-04-08T11:01:28.550 回答
0

这个问题可能已经解决了,但是,VLOOKUP 在大型数据集上相当慢;MATCH 通常是一种更快的方法

于 2011-02-06T23:14:37.433 回答