给定一列数字,return 使用 LibreOffice SpreadSheet 出现最大值的行号
Given a column of numbers, return the row number in which the maximum value is present using LibreOffice SpreadSheet
假设我有一个列 A:
A
1 | 10
2 | 20
3 | 33
4 | 42
在第 5 行,我可以计算行的最大值:MAX(A1:A4),其中 returns 42。在第 6 行,我想获得最大值的行号,即行号4.
谢谢
A5 包含 =MAX(A1:A4)
A6 那么应该有公式 =MATCH(A5;A1:A4;0)
A6 returns 可以找到您的值的搜索矩阵的第 n 行。
这对解决您的问题有帮助吗?
假设我有一个列 A:
A
1 | 10
2 | 20
3 | 33
4 | 42
在第 5 行,我可以计算行的最大值:MAX(A1:A4),其中 returns 42。在第 6 行,我想获得最大值的行号,即行号4. 谢谢
A5 包含 =MAX(A1:A4)
A6 那么应该有公式 =MATCH(A5;A1:A4;0)
A6 returns 可以找到您的值的搜索矩阵的第 n 行。 这对解决您的问题有帮助吗?