当前位置:网站首页>[office] eight usages of if function in Excel
[office] eight usages of if function in Excel
2022-07-05 11:15:00 【Jiang taixiaobai】
Today, let's learn IF Several typical uses of functions , After reading it, you will feel , original IF The function is so profound !
1. Simple judgment
According to whether the result reaches 60 Score to judge whether you pass . The formula :IF(B2>=60," pass "," fail, ")
2. Multiple condition judgment
Male is greater than or equal to 60 At the age of , retired ; Female is greater than or equal to 55 At the age of , retired . The formula :IF(B2=" male ",IF(C2>=60," retired ",""),IF(C2>=55," retired ",""))
3. Multi interval judgment
The score is less than 60 The grade is C, Greater than or equal to 60 And is less than or equal to 80 The grade of the game is B, Greater than 80 Cent is C. The formula :IF(B2<60,"C",IF(B2>80,"A","B"))
4. And and Function combination
Except for the employees of the finance department A Class reimbursement is 200, Everything else is 150. The formula :IF(AND(B2=" Finance Department ",C2="A"),200,150)
5. And or Function combination
Finance department staff or A The reimbursement expenses of such employees are 200, Everything else is 150. The formula :IF(OR(B2=" Finance Department ",C2="A"),200,150)
6. And sum Function combination
The sum of all girls' grades . The formula :SUM(IF(B2:B9=" Woman ",C2:C9,""))
7. And vlookup Function combination
Find the corresponding company name according to the name . The formula :VLOOKUP(F2,IF({1,0},C:C,B:B),2,0)
8. According to the ID number
Gender no. of ID number 17 When the digit number is even , Gender is female ; Odd hour , Gender is female . The formula :IF(MOD(MID(B2,17,1),2)=1," male "," Woman ")
边栏推荐
- Basics - rest style development
- Basic part - basic project analysis
- Msfconsole command encyclopedia and instructions
- C # to obtain the filtered or sorted data of the GridView table in devaexpress
- 关于vray5.2怎么关闭日志窗口
- Taro advanced
- Golang application topic - channel
- 【广告系统】Parameter Server分布式训练
- [Oracle] use DataGrid to connect to Oracle Database
- 【Oracle】使用DataGrip连接Oracle数据库
猜你喜欢
Detailed explanation of DDR4 hardware schematic design
go语言学习笔记-分析第一个程序
Oneforall installation and use
Characteristics and electrical parameters of DDR4
九、磁盘管理
【广告系统】Parameter Server分布式训练
[advertising system] parameter server distributed training
Wechat nucleic acid detection appointment applet system graduation design completion (7) Interim inspection report
Explanation of message passing in DGL
go语言学习笔记-初识Go语言
随机推荐
关于 “原型” 的那些事你真的理解了吗?【上篇】
Modulenotfounderror: no module named 'scratch' ultimate solution
Variables///
Basics - rest style development
DDRx寻址原理
Characteristics and electrical parameters of DDR4
C # to obtain the filtered or sorted data of the GridView table in devaexpress
修复动漫1K变8K
9、 Disk management
Operators
About the use of Vray 5.2 (self research notes) (II)
Detailed explanation of MATLAB cov function
32: Chapter 3: development of pass service: 15: Browser storage media, introduction; (cookie,Session Storage,Local Storage)
Based on shengteng AI Aibi intelligence, we launched a digital solution for bank outlets to achieve full digital coverage of information from headquarters to outlets
Web Components
Lombok 同时使⽤@Data和@Builder 的坑,你中招没?
购买小间距LED显示屏的三个建议
How can edge computing be combined with the Internet of things?
Go language-1-development environment configuration
How can gbase 8C database view the login information of the login user, such as the date, time and IP of the last login authentication?