当前位置:网站首页>[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 ")

边栏推荐
- iframe
- Basic part - basic project analysis
- GBase 8c数据库如何查看登录用户的登录信息,如上一次登录认证通过的日期、时间和IP等信息?
- vite//
- Ddrx addressing principle
- About the use of Vray 5.2 (self research notes)
- Use bat command to launch common browsers with one click
- 关于vray 5.2的使用(自研笔记)(二)
- [advertising system] incremental training & feature access / feature elimination
- C language current savings account management system
猜你喜欢
![[JS] extract the scores in the string, calculate the average score after summarizing, compare with each score, and output](/img/96/b8585205b3faf503686c5bbdcecc53.png)
[JS] extract the scores in the string, calculate the average score after summarizing, compare with each score, and output
![[advertising system] parameter server distributed training](/img/8b/558c2fefbd16b580546003f3afeaf5.png)
[advertising system] parameter server distributed training

一次edu证书站的挖掘

2022 Pengcheng cup Web

Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment

matlab cov函数详解

Implement the rising edge in C #, and simulate the PLC environment to verify the difference between if statement using the rising edge and not using the rising edge

关于 “原型” 的那些事你真的理解了吗?【上篇】

Basics - rest style development

32:第三章:开发通行证服务:15:浏览器存储介质,简介;(cookie,Session Storage,Local Storage)
随机推荐
FFmpeg调用avformat_open_input时返回错误 -22(Invalid argument)
C # to obtain the filtered or sorted data of the GridView table in devaexpress
uniapp
Use bat command to launch common browsers with one click
关于vray 5.2的使用(自研笔记)
Codeforces Round #804 (Div. 2)
Data type
Golang application topic - channel
Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
基础篇——REST风格开发
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?
BOM//
DGL中的消息传递相关内容的讲解
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
Four departments: from now on to the end of October, carry out the "100 day action" on gas safety
String
数据类型 ntext 和 varchar 在not equal to 运算符中不兼容 -九五小庞
Detailed explanation of MATLAB cov function
Msfconsole command encyclopedia and instructions
Cross page communication