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

边栏推荐
- Data type
- COMSOL--建立几何模型---二维图形的建立
- Explanation of message passing in DGL
- SSL证书错误怎么办?浏览器常见SSL证书报错解决办法
- In the last process before the use of the risk control model, 80% of children's shoes are trampled here
- Lombok 同时使⽤@Data和@Builder 的坑,你中招没?
- 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
- Basic testing process of CSDN Software Testing Introduction
- Three suggestions for purchasing small spacing LED display
- How can edge computing be combined with the Internet of things?
猜你喜欢

DDR4硬件原理图设计详解

Go-3-the first go program

如何让全彩LED显示屏更加节能环保

Ddrx addressing principle

Do you really understand the things about "prototype"? [part I]

Operation of simulated examination platform of special operation certificate examination question bank for safety production management personnel of hazardous chemical production units in 2022

A mining of edu certificate station

How to make full-color LED display more energy-saving and environmental protection

Broyage · fusion | savoir que le site officiel de chuangyu mobile end est en ligne et commencer le voyage de sécurité numérique!

【DNS】“Can‘t resolve host“ as non-root user, but works fine as root
随机推荐
GBase 8c数据库如何查看登录用户的登录信息,如上一次登录认证通过的日期、时间和IP等信息?
AUTOCAD——遮罩命令、如何使用CAD对图纸进行局部放大
Data types ntext and varchar are incompatible in the not equal to operator - 95 small pang
Detailed explanation of DDR4 hardware schematic design
Leetcode 185 All employees with the top three highest wages in the Department (July 4, 2022)
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
C language current savings account management system
[JS learning notes 54] BFC mode
Variables///
[first release in the whole network] (tips for big tables) sometimes it takes only 1 minute for 2 hours of SQL operation
Applet framework taro
DDoS attack principle, the phenomenon of being attacked by DDoS
四部门:从即日起至10月底开展燃气安全“百日行动”
居家办公那些事|社区征文
Cross page communication
Web Security
go语言学习笔记-分析第一个程序
Stop saying that microservices can solve all problems!
关于 “原型” 的那些事你真的理解了吗?【上篇】
A mining of edu certificate station