答案 0 :(得分:0)
将这两个数组公式填入b16:b17,每个用ctr + shift + enter完成。
=AGGREGATE(15, 6, (INDEX(B4:I11, MATCH(B14, A4:A11, 0), 0))/(ABS(INDEX(B4:I11, MATCH(B14, A4:A11, 0), 0)-B15)=MIN(ABS(INDEX(B4:I11, MATCH(B14, A4:A11, 0), 0)-B15))), 1)
=AGGREGATE(15, 6, COLUMN(A:H)/(ABS(INDEX(B4:I11, MATCH(B14, A4:A11, 0), 0)-B15)=MIN(ABS(INDEX(B4:I11, MATCH(B14, A4:A11, 0), 0)-B15))), 1)