工资 函数一 函数二 函数三 函数四 函数五
3500 25 25 25 25 25
4500 75 125 75 75
7500 375 425 375 375 375
10000 875 875 875 875
30000 5775 5225 5775 5775 5775
60000 14475 13575 14475 14475
80000 21475 20425 21475 21475 21475
81000 21825 20775 21825 21825
函数一:=ROUND(MAX((C2-3000)*{0.05,0.1,0.2,0.25,0.3,0.35,0.45}-{0,75,525,975,2725,5475,13475},0),0)
函数二:=SUM(TEXT(C2%-{6;7;16;46;86;126;206}*5,"[<]\0")*{5;5;10;5;5;5;10})
函数三:=SUM(TEXT(C2-500*{6,9,15,24,76,116,166},"[<]!0")*{5,5,10,5,5,5,10}%)
函数四:=ROUND(IF((C2-3000)<0,0,MAX(ROUND((C2-3000)*{0.05,0.1,0.2,0.25,0.3,0.35,0.45}-{0,75,525,975,2725,5475,13475},6))),2)
函数五:=SUM(TEXT(C2-500*{6,9,15,24,76,116,166},"[<]\0")*{5,5,10,5,5,5,10}%)
结果不一样,那一个正确啊,谁能讲一下原理 |