如何简化公式-IFS嵌套多公式或其他方法

问题描述 投票:0回答:1

我想创建一个公式来执行以下操作:

If SUM(G20:M20) is between 45 and 60 then = 100%.
If SUM(G20:M20) is between 37 and 44 then = 95%.
If SUM(G20:M20) is between 29 and 36 then = 90%.
If SUM(G20:M20) is between 21 and 28 then = 85%.
If SUM(G20:M20) is between 13 and 20 then = 80%.
If SUM(G20:M20) is between 5 and 12 then = 75%.
If SUM(G20:M20) is between 0 and 4 then = 70%.

我有这个,但不起作用

=IF(AND((SUM(G20:M20>45, "100%",IF(AND(G20:M20>37, SUM(G20:M20<44), "95%",IF(AND(G20:M20>29, SUM(G20:M20<36), "90%",IF(AND(SUM(G20:M20>21, SUM(G20:M20<28), "85%",IF(AND(SUM(G20:M20>13, SUM(G20:M20<20, "80%",IF(AND(SUM(G20:M20<12), SUM(G20:M20>5, "75%" ,IF(AND(SUM(G20:M20>0, SUM(G20:M20<4), "70%")))

谢谢

nested ifs
1个回答
0
投票

问题已解决,但感谢您的尝试。

© www.soinside.com 2019 - 2024. All rights reserved.