当前位置:网站首页>[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 ")
边栏推荐
- Talk about the understanding of fault tolerance mechanism and state consistency in Flink framework
- 关于 “原型” 的那些事你真的理解了吗?【上篇】
- 解决访问国外公共静态资源速度慢的问题
- SLAM 01. Modeling of human recognition Environment & path
- How to close the log window in vray5.2
- Bracket matching problem (STL)
- 【爬虫】wasm遇到的bug
- Web3 Foundation grant program empowers developers to review four successful projects
- Web Components
- Cron表达式(七子表达式)
猜你喜欢
How to make full-color LED display more energy-saving and environmental protection
Detailed explanation of MATLAB cov function
matlab cov函数详解
Intelligent metal detector based on openharmony
Go language-1-development environment configuration
【Oracle】使用DataGrip连接Oracle数据库
About the use of Vray 5.2 (self research notes)
DDRx寻址原理
如何让全彩LED显示屏更加节能环保
Operation of simulated examination platform of special operation certificate examination question bank for safety production management personnel of hazardous chemical production units in 2022
随机推荐
-26374 and -26377 errors during coneroller execution
uboot的启动流程:
关于vray 5.2的使用(自研笔记)(二)
Go language-1-development environment configuration
C language current savings account management system
Operators
2022 t elevator repair operation certificate examination questions and answers
How to introduce devsecops into enterprises?
Dspic33ep clock initialization program
Three paradigms of database
数据类型 ntext 和 varchar 在not equal to 运算符中不兼容 -九五小庞
Network security of secondary vocational group 2021 Jiangsu provincial competition 5 sets of topics environment + analysis of all necessary private messages I
comsol--三维图形随便画----回转
【广告系统】Parameter Server分布式训练
Huawei equipment configures channel switching services without interruption
边缘计算如何与物联网结合在一起?
go语言学习笔记-分析第一个程序
Lombok makes ⽤ @data and @builder's pit at the same time. Are you hit?
Codeforces Round #804 (Div. 2)
Applet framework taro