=VLOOKUP($B$9&ROW(11),IF({1,0},$B$2:$B$6&COUNTIF(INDIRECT("b2:b"&ROW($2:$6)),B$9),$A$2:$A$6),2,)
2个回答
展开全部
修改一下公式:(数组公式,别忘了按三键完成公式)
=VLOOKUP($B$9&ROW(1:1),IF({1,0},$B$2:$B$6&COUNTIF(INDIRECT("b2:b"&ROW($2:$6)),B$9),$A$2:$A$6),2,)
或:
=VLOOKUP($B$9&ROW(A1),IF({1,0},$B$2:$B$6&COUNTIF(INDIRECT("b2:b"&ROW($2:$6)),B$9),$A$2:$A$6),2,)
=VLOOKUP($B$9&ROW(1:1),IF({1,0},$B$2:$B$6&COUNTIF(INDIRECT("b2:b"&ROW($2:$6)),B$9),$A$2:$A$6),2,)
或:
=VLOOKUP($B$9&ROW(A1),IF({1,0},$B$2:$B$6&COUNTIF(INDIRECT("b2:b"&ROW($2:$6)),B$9),$A$2:$A$6),2,)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询