如何从excel一列数中获取最小的正数和最大的负数
时间:2023-03-13 00:20:52
假如A1:A20区域中是一些数值,其中包含正数、负数和零,现在需要找出其中的最大的负数和最小的正数,可以用下面的数组公式:
获取最大的负数:
=MAX(IF(A1:A20<0,A1:A20))
由于是数组公式,公式输入完毕后按Ctrl+Shift+Enter结束,下同。
获取最小的正数:
=MIN(IF(A1:A20>0,A1:A20))
获取第二大的负数:
=LARGE(IF(A1:A20<0,A1:A20),2)
获取第二小的正数:
=SMALL(IF(A1:A20>0,A1:A20),2)
标签:公式,正数,获取,负数,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
怎么关闭WPS office广告
2023-06-01 18:26:49
![](https://img.aspxhome.com/file/2023/5/a168055_0s.jpg)
鲁大师如何跑分
2022-07-31 09:07:38
![](https://img.aspxhome.com/file/2023/9/a341637_0s.png)
win10电脑玩古墓丽影崛起头晕想吐的解决方法
2023-09-08 02:53:11
![](https://img.aspxhome.com/file/2023/5/a314676_0s.jpg)
爱奇艺怎么更换主题皮肤?主题皮肤更换方法分享
2022-07-08 09:47:16
![](https://img.aspxhome.com/file/2023/7/a331540_0s.jpg)
Win10 Build 9879 预览版不能自动更新怎么解决?
2023-05-04 19:31:33
![](https://img.aspxhome.com/file/2023/28/a250804_0s.jpg)
无法连接到 App Store 什么原因,怎么办?
2023-10-03 15:02:11
![](https://img.aspxhome.com/file/2023/8/a198898_0s.png)
华为手机助手怎么恢复老版本?
2023-06-09 23:25:21
![](https://img.aspxhome.com/file/2023/8/a338267_0s.jpg)
word文档加密
2023-06-30 07:02:42
![](https://img.aspxhome.com/file/2023/5/34505_0s.gif)
Win7系统玩游戏屏幕出现上下黑边怎么解决
2022-03-29 04:20:01
![](https://img.aspxhome.com/file/2023/4/a313408_0s.jpg)
UAC是什么?Win7系统中UAC的详细介绍
2023-08-12 06:45:11
![](https://img.aspxhome.com/file/2023/27/a232325_0s.jpg)
Win10玩魔兽争霸不能全屏显示的设置教程
2023-11-14 19:15:54
![](https://img.aspxhome.com/file/2023/28/a246917_0s.jpg)
WPS 如何取消英文首字母大写
2022-12-26 06:40:22
![](https://img.aspxhome.com/file/2023/8/a186438_0s.png)
魔兽大脚字体怎么设置_魔兽大脚字体插件修改设置方法
2022-12-23 09:34:06
![](https://img.aspxhome.com/file/2023/3/a292039_0s.jpg)
系统中的文件无法删除提示访问被拒绝的解决方
2022-10-11 15:03:44
![](https://img.aspxhome.com/file/2023/2/a285318_0s.jpg)
自动隐藏桌面所有图标的小技巧
2022-05-18 20:41:04
hpztsb10.exe是什么进程 有什么作用 hpztsb10进程查询
2022-11-30 10:46:40
excel表格三角如何取消
2023-05-02 09:49:20
win8系统安装软件提示“扩展属性不一致”怎么办
2022-05-09 03:11:33
![](https://img.aspxhome.com/file/2023/3/a302776_0s.jpg)
深色模式下,QQ空间消息显示不正常是什么问题?
2023-10-13 10:10:17
![](https://img.aspxhome.com/file/2023/7/a195977_0s.png)
电脑版wps文档的表格上方如何添加文字
2023-12-02 01:49:19
![](https://img.aspxhome.com/file/2023/1/a183481_0s.png)