=IF(COUNTIF(Sheet2!B:K,A2),INDEX(Sheet2!答:答,SUMPRODUCT((Sheet2!$ B $ 2:$ K $ 100 = A2)*行(Sheet2!$B$2:$K$100)),“沒有這樣的名字”)