简体   繁体   English

如何以数字形式返回Excel中列的最大值?

[英]How to return highest value of a column in excel in terms of numerical number?

在此处输入图片说明

How can I get cell A3 to reflect the the highest value in terms of the bigger numerical number of cloumn A be it a positive or negative value? 我怎样才能使单元格A3反映出更大的Cloumn A数值最大值(正值或负值)?

=IF(Max(A1:A32)>abs(MIN(A1:A32)),MAX(A1:A32),MIN(A1:A32)

Check to see if the absolute maximum is bigger than the absolute value of the minimum. 检查最大绝对值是否大于最小绝对值。 If the max is larger, stick with the larger value and perform a max calculation. 如果最大值较大,请坚持使用较大的值并执行最大值计算。 If absolute MIN is larger, then just perform a MIN calculation and you will maintain your sign. 如果MIN的绝对值较大,则只需执行MIN计算,即可保持符号。

=IF(ABS(MIN(A1:A2))>ABS(MAX(A1:A2)),MIN(A1:A2),MAX(A1:A2))

Assuming no two values are the same. 假设没有两个值相同。

-15
15

will result in 15 being displayed. 将导致显示15

暂无
暂无

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

相关问题 如何在Excel VBA中为列号分配某个数值 - How to assign a certain numerical value to column number in Excel VBA (Excel) 如何使用公式返回第 n 个最高值的列 header - (Excel) How to return column header of the nth highest values with formula 在excel中,从一系列行中,返回另一列中具有最高值的行的列值 - In excel, from a range of rows, return the column value of the row with the highest value from another column Excel 公式部分匹配返回最大值 - Excel formula to part match and return the highest value Excel,从A列返回文本,其中E列具有最高值,而B列的值等于cel G1中的值 - Excel, return text from column A where, column E has the highest value AND column B values equal value in cel G1 Excel 问题:找到一个值的列号,然后直接返回它下面的值--如何? - Excel Question: Find the column number of a value, and return the value directly below it--how? 返回列单元格中最大的数值加上相关的行单元格数据 - Return highest number value in column cell plus a related row cell data Excel,如何从另一列中查找给定值的最高列值 - Excel , how to find highest column value for a given value from another column 如何在Excel中最多返回特定百分比的列中最大数值的相应字符串值 - How to return corresponding string values of largest numerical values in column up to certain percentage in Excel 如何在 Excel 中搜索多个词并返回一个短语? - How to Search for Multiple Terms in Excel and Return a Phrase?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM