excel公式获取区域中绝对值最大的数
时间:2023-01-05 12:02:13
在Excel中要获取区域中绝对值最大的数,可以用下面的几个公式,假如数值所在的区域为A1:C10,如图。
在A12单元格中输入公式:
=IF((MAX(A1:C10))>-MIN(A1:C10),MAX(A1:C10),MIN(A1:C10))
绝对值最大的数为区域中的最大值或最小值,利用该特点,公式先比较区域中的最大值与最小值的相反数,如果前者大于后者就返回区域中的最大值,否则返回最小值。
或:
=PERCENTILE(A1:C10,MAX(A1:C10)>-MIN(A1:C10))
PERCENTILE函数的语法:
PERCENTILE(array,k)
返回数组或区域中数值的第k个百分点的值,k为0到1之间的百分点值,包含0和1。如果区域中的最大值大于最小值的相反数,则公式变为:
=PERCENTILE(A1:C10,TRUE)
这里第二个参数TRUE等同于1,公式返回最大值,否则返回最小值。
或用下面的数组公式,公式输入完毕后按Ctrl+Shift+Enter结束:
=MAX(IF(MAX(ABS(A1:C10))=ABS(A1:C10),A1:C10))
当区域中最大值与最小值的绝对值相等时,该公式返回最大值。
同理,下面的数组公式获取区域中绝对值最小的数:
=MAX(IF(MIN(ABS(A1:C10))=ABS(A1:C10),A1:C10))
标签:公式,区域,最大值,绝对值,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
word 中编号与正文之间过大的间隔距离恼火不已,不要上火,今天我将为大家一一分解
2022-12-09 22:43:52
word 如何制作艺术字
2022-12-12 17:22:14
![](https://img.aspxhome.com/file/2023/7/32927_0s.jpg)
专业的UI设计开发软件推荐:QuickLens for Mac
2022-12-08 06:58:19
![](https://img.aspxhome.com/file/2023/7/a208417_0s.jpeg)
Wps2016怎么制作波浪排列的字体?
2023-10-02 04:59:03
![](https://img.aspxhome.com/file/2023/6/a166216_0s.jpg)
win10 th2正式版怎么样?win10 th2正式版新功能上手体验视频
2022-03-19 13:02:51
![](https://img.aspxhome.com/file/2023/28/a246478_0s.png)
电脑提示错误码:7620296无法登陆怎么办?
2023-08-29 02:23:41
![](https://img.aspxhome.com/file/2023/6/a321083_0s.jpg)
Win7提示无法自动检测代理设置如何解决?
2022-12-11 03:57:37
![](https://img.aspxhome.com/file/2023/27/a230283_0s.jpg)
怎样调u盘启动盘方法
2023-07-18 04:03:49
![](https://img.aspxhome.com/file/2023/3/a299556_0s.jpg)
win10系统音频设备问题整理
2023-08-02 03:57:00
![](https://img.aspxhome.com/file/2023/9/46769_0s.jpg)
Server 2016特定用户权限划分,只显示有权限的文件夹
2022-10-29 06:23:14
![](https://img.aspxhome.com/file/2023/9/a342311_0s.jpg)
wps文字如何看字数统计
2022-10-09 13:04:04
Win7系统PC输入面板怎么关闭?
2023-12-11 18:33:31
![](https://img.aspxhome.com/file/2023/27/a231126_0s.jpg)
类似冲顶大会的APP有哪些?类似冲顶大会的APP推荐
2022-07-19 00:59:38
![](https://img.aspxhome.com/file/2023/8/a339510_0s.jpg)
Win10按F8进不了安全模式怎么回事?
2022-09-24 17:48:33
![](https://img.aspxhome.com/file/2023/26/a220604_0s.png)
如何在Mac的Office 2011中的Word或PowerPoint中制作图表
2022-12-15 04:03:55
Win10默认设置里有两个edge浏览器怎么解决?
2023-03-23 17:42:03
![](https://img.aspxhome.com/file/2023/28/a240024_0s.jpg)
Win7系统打开CDR文件是空白的完美解决方案
2022-06-14 09:39:29
![](https://img.aspxhome.com/file/2023/28/a243618_0s.jpg)
win7系统自带刻录软件 光盘刻录图文教程
2023-09-26 23:01:02
![](https://img.aspxhome.com/file/2023/5/a314703_0s.jpg)
excel的六种时间差,会算吗?
2023-07-13 17:09:16
![](https://img.aspxhome.com/file/2023/1/a142231_0s.jpg)
安装CAD时提示已安装怎么办?安装AutoCAD2012提示已安装的解决方法
2023-06-13 03:16:35
![](https://img.aspxhome.com/file/2023/7/a331290_0s.jpg)