示例同表中,在G3单元格输入以下公式,然后向右向下填充公式=IFERROR(LOOKUP(1,0/(($A$3:$A$8=$F3)*($B$3:$B$8=G$2)),$C$3:$C$8),"")或者在Sheet2的B3单元格输入以下公式,然后向右向下填充公式=IFERROR(LOOKUP(1,0/((Sheet1!$A$3:$A$8=$A3)*(Sheet1!$B$3:$B$8=B$2)),Sheet1!$C$3:$C$8),"")
代码解决一切!