excel如何使用or函数
时间:2022-11-05 22:34:11
excel中OR函数与AND函数的区别在于,AND函数要求所有函数逻辑值均为真,结果方为真,而OR函数仅需其中任何一个为真即可为真。 具体应该怎么在表格中使用呢?下面就跟小编一起来看看吧。
excel使用or函数的步骤
下面举例来说明OR函数的使用方法。
某公司对升职设置了条件:”年龄大于30岁,或在本公司工作年限要大于10年(含)“,要筛选出符合条件的人选。
此时使用OR函数,在单元格中输入”=OR(D2>30, E2>=10)“,按回车键,得到的结果是”FALSE“,因为 张3 的年龄小于30岁,在公司工作时间也没有超过10年。即OR函数中的两个逻辑条件都不满足,所以返回“FALSE”。
将单元格下拉,就可以得到所有人能否升职的结果,如下图:
图中还可以看到,虽然张5、张7、张8的工作年限没有达到10年,即不满足逻辑条件中的规定,但是,他们的年龄满足“大于30岁”的逻辑条件,所以整体结果为“TRUE”。这就是OR函数的特点,只要有一个逻辑条件满足,就返回“TRUE”。
excel使用or函数
标签:函数,大于,条件,逻辑,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Easy MP3 Converter Mac支持什么输出设备?支持的输入文件格式是什么?
2023-03-17 03:51:39
![](https://img.aspxhome.com/file/2023/4/a213534_0s.jpeg)
如何在Excel中统计迟到时长
2023-11-17 02:29:23
![](https://img.aspxhome.com/file/2023/3/a161183_0s.jpg)
access数据库怎么将图片转换位图格式?access数据库保存图片的方法
2023-08-27 03:50:09
![](https://img.aspxhome.com/file/2023/30/a267167_0s.jpg)
微软Surface Pro 3/2固件更新:提升Win10系统下显卡性能
2023-09-26 07:18:22
![](https://img.aspxhome.com/file/2023/28/a248053_0s.jpg)
Win7系统eml文件怎么打开?
2022-01-19 10:21:12
![](https://img.aspxhome.com/file/2023/4/a303578_0s.png)
WPS excel计算数据最大公约数的GCD函数使用基础教程
2023-08-07 19:40:06
![](https://img.aspxhome.com/file/2023/9/a186889_0s.jpg)
微软Win 10操作系统CPU使用率居高不下怎么办?试试这些方法
2023-11-16 17:25:18
![](https://img.aspxhome.com/file/2023/28/a247766_0s.jpg)
云美摄中如何添加字幕?云美摄中添加字幕的方法
2022-03-03 10:14:01
![](https://img.aspxhome.com/file/2023/8/a335001_0s.jpg)
win10博通网卡频繁掉线提示默认网关不可用该怎么办?
2023-06-12 23:07:20
![](https://img.aspxhome.com/file/2023/28/a245978_0s.jpg)
Excel表格怎么使用文字和数字的分离
2023-10-15 05:59:04
PS怎么去掉图片背景只留字?
2023-12-17 09:17:08
![](https://img.aspxhome.com/file/2023/1/a274715_0s.jpg)
用u盘怎么装系统,详细教您怎么装系统
2023-10-21 18:18:15
![](https://img.aspxhome.com/file/2023/2/a290868_0s.png)
Win11怎么打开病毒和威胁防护
2022-08-07 07:05:04
![](https://img.aspxhome.com/file/2023/1/a275337_0s.jpg)
自动清除Excel数据透视表中的垃圾条目
2022-07-16 17:39:28
网易云音乐心动模式是什么?怎么使用?
2022-07-08 21:07:34
![](https://img.aspxhome.com/file/2023/7/a331715_0s.jpg)
PPT怎么制作一个小车慢慢直行的动画效果?
2023-07-09 18:14:48
![](https://img.aspxhome.com/file/2023/10/a349958_0s.gif)
excel 编辑栏的显示和隐藏设置,以及excel编辑栏框大小高宽调整
2023-05-06 08:27:13
![](https://img.aspxhome.com/file/2023/3/a162753_0s.gif)
Intel有12种“黑科技”应对后CMOS时代:电压远低于0.5V
2023-05-17 22:56:01
![](https://img.aspxhome.com/file/2023/2/a285684_0s.jpg)
Enolsoft PDF Converter 使用教程—轻松将PDF插入PowerPoint的解决方案
2022-07-23 06:20:47
![](https://img.aspxhome.com/file/2023/7/a213357_0s.png)
Excel2016中怎么使用DAYS360函数求两日期之间相差的天数?
2023-07-06 16:49:46
![](https://img.aspxhome.com/file/2023/8/41498_0s.jpg)