IF嵌套语句太多的函数替代使用举例
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
LOOKUP =LOOKUP(B3,{0,10,20,30},{1000,2000,3000,4000}) CHOOSE =CHOOSE(SUM(N((B3-{1,10,20,30})>=0)),1000,2000,3000,4000) ROUNDUP =TEXT(ROUNDUP(B3/10,),"[>4]4")*1000 VLOOKUP =VLOOKUP(B3,{1,1000;10,2000;20,3000;30,4000},2)
4000 3000 4000 4000 4000 3000 3000 3000 2000 3000 2000 3000 3000 2000 4000 4000 4000 3000 3000 3000 3000 2000 2000 3000 3000 3000
4000 3000 4000 4000 4000 3000 3000 3000 2000 3000 2000 3000 3000 2000 4000 4000 4000 3000 3000 3000 3000 2000 2000 3000 3000 3000
2000 2000 2000 2000 2000 3000 2000 2000 4000 2000 4000 3000 3000 4000 3000 4000 3000 3000 4000 4000 2000 3000 2000 2000 4000 4000
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
3000 3000 2000 3000 2000 2000 2000 3000 2000 1000 2000 2000 4000 2000 3000 4000 2000 2000 4000 3000 3000 4000 3000
3000 3000 2000 3000 2000 2000 2000 3000 2000 1000 2000 2000 4000 2000 3000 4000 2000 2000 4000 3000 3000 4000 3000
2000 2000 2000 2000 2000 3000 2000 2000 4000 2000 4000 3000 3000 4000 3000 4000 3000 3000 4000 4000 2000 3000 2000 2000 4000 4000
2000 2000 2000 2000 2000 3000 2000 2000 4000 2000 4000 3000 3000 4000 3000 4000 3000 3000 4000 4000 2000 3000 2000 2000 4000 4000
34 25 42 41 31 21 29 25 19 28 19 28 21 19 34 43 36 22 20 20 22 17 17 20 20 24
4000 3000 4000 4000 4000 3000 3000 3000 2000 3000 2000 3000 3000 2000 4000 4000 4000 3000 3000 3000 3000 2000 2000 3000 3000 3000
3000 3000 2000 3000 2000 2000 2000 3000 2000 1000 2000 2000 4000 2000 3000 4000 2000 2000 4000 3000 3000 4000 3000
IF
=IF(AND(B3>=1,B3<=9),1000,IF(AND(B3>=10,B3<=19),2000,IF(AND(B3>=20,B3<=29),3
2000 2000 2000 2000 2000 3000 2000 2000 4000 2000 4000 3000 3000 4000 3000 4000 3000 3000 4000 4000 2000 3000 2000 2000 4000 4000
2000 2000 2000 2000 2000 3000 2000 2000 4000 2000 4000 3000 3000 4000 3000 4000 3000 3000 4000 4000 2000 3000 2000 2000 4000 4000
序 工龄 号 (年)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 28 25 16 20 16 19 17 29 17 8 18 17 36 19 23 34 16 16 38 28 23 39 22
工作1-9年的1000元; 10-19年的2000元;20-29年的3000 IF LOOKUP CHOOSE ROUNDUP VLOOKUP 元;30年以上的4000元;
4000 3000 4000 4000 4000 3000 3000 3000 2000 3000 2000 3000 3000 2000 4000 4000 4000 3000 2000 2000 3000 2000 2000 2000 2000 3000
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
16 16 19 19 13 21 14 19 42 16 36 22 24 37 24 31 21 25 34 41 19 21 13 17 36 32
应发补贴(元)
ห้องสมุดไป่ตู้
3000 3000 2000 3000 2000 2000 2000 3000 2000 1000 2000 2000 4000 2000 3000 4000 2000 2000 4000 3000 3000 4000 3000
3000 3000 2000 2000 2000 2000 2000 3000 2000 1000 2000 2000 4000 2000 3000 4000 2000 2000 4000 3000 3000 4000 3000