我有三列数据...第 1 列包含 TRUE 或 FALSE,第 2 列包含 TRUE 或 FALSE,第 3 列包含以下字母之一:A、S、M 或 E。
我正在寻找一个将返回的公式:
FALSE and FALSE = 0%
TRUE and FALSE = 3%
TRUE and TRUE and A = 5%
TRUE and TRUE and S = 8%
TRUE and TRUE and M = 10%
TRUE and TRUE and E = 15%
最佳答案
您可以使用深度嵌套的 if 语句:
=if(and(A=False,B=False),0%,
if(A=True,if(B=False,3%,
if(C="A",5%,
if(C="S",8%,
if(C="M",10%,
if(C="E",15%)))))))
关于excel - Excel 中的多个 IF THEN,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24967953/