Excel: Index/match 到 return 数组

Excel: Index/match to return array

Sheet1 & Sheet 2

我正在寻找一种可以在 excel 中为每个 A 列值执行以下任务的方法:

Sheet1(结果)

在 sheet1!c2 中试试这个并填写,

=COUNTIF(INDEX(Sheet2!A:C, 0, MATCH(A2, Sheet2!:, 0)), B2)