我想了解的是如何在一行代码中做到这一点?
=IF(H15 = True,"H15 is the best plan"), IF(H16 = True, "H16 is the best plan"),
答案 0 :(得分:0)
您需要嵌套IF(即不要过早地将括号括起来):
=IF(H15=True,"H15 is the best plan",IF(H16=True,"H16 is the best plan","x"))
如果需要,在"x"
前添加更多IF子句-并添加适合的右括号。