您的位置首页百科问答

excel函数多条件查找与引用求高手解答 如图:Sheet2 C1中我填的函数为:=IF(毫号OR(A1="",B1=""),"",VLOOKUP(A1&B1,IF({1,0},Sheet1!A$2:$A$20&Sheet1!B$2:B$20,Sheet1!C$2来自:C$20),2,0

excel函数多条件查找与引用求高手解答
如图:Sheet2 C1中我填的函数为:=IF(毫号OR(A1=

将公式改为

=INDEX(Sheet1!C:C,MAX((She扩机et1!$A$2:$A汽量喜握虽复然已$20=A1)*(Sheet1!$B$虽使图万注务施整2:$B$20=B1)*ROW($2:$20)))

双击该单元格,按“Shi字个尼境很ft"+"Ctrl"+"Enter"三键完成公式,这时公式多了{}再将公常紧式向下填充,如图:

不要”0“值,可在”工具“-->”选项“-->里进行设置,也可将公式改为:

=IF(OR(A1="",B1=""),"",INDEX(Sheet1!C:C,MAX((Sheet1!$A$2:$A$20=A1)*(Sheet1!$B$2:$B$20=B1)*ROW($2:$20))))