Excel - 查找具有最高值的单元格
Excel - Finding Cells with Top Values
| Company 1 | Company 2
Item 1 | 7 | 0
Item 2 | 1 | 0
Item 3 | 2 | 8
Item 4 | 0 | 3
Item 5 | 0 | 1
所以我需要获取给定列中前 3 个有序值的 cell/row 编号,因此对于公司 1,您将获得 B2、B4、B3,对于公司 2,您将获得 C4, C5, C6.
到return行号使用这个公式:
=MATCH(LARGE(B:B,ROW(1:1)),B:B,0)
| Company 1 | Company 2
Item 1 | 7 | 0
Item 2 | 1 | 0
Item 3 | 2 | 8
Item 4 | 0 | 3
Item 5 | 0 | 1
所以我需要获取给定列中前 3 个有序值的 cell/row 编号,因此对于公司 1,您将获得 B2、B4、B3,对于公司 2,您将获得 C4, C5, C6.
到return行号使用这个公式:
=MATCH(LARGE(B:B,ROW(1:1)),B:B,0)