简体   繁体   English

Excel-如何有效地返回最大值的索引

[英]Excel - How to Efficiently Return Index of Max Value

Is there a way to return the index of the (first) MAX value of an array in Excel, without using the array in the formula twice? 有没有一种方法可以返回Excel中数组(第一个) MAX值的索引而无需两次在公式中使用数组?

Ie, not like this: 即,不是这样的:

= MATCH(MAX(<array>),<array>,0)

If <array> is a long formula in itself, then the formula is seemingly twice as long (and inefficient) as it should be. 如果<array>本身是一个长公式,则该公式似乎长了两倍(效率不高)。 I am just trying to avoid this, if possible. 如果可能的话,我只是想避免这种情况。

如果将在文件中经常使用MAX值,则可以为其创建一个命名范围,并将MAX公式放入该命名范围的值中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM