具有多个条件/结果的Excel IF功能

时间:2016-10-11 23:55:36

标签: excel function excel-formula

如何将其编写为嵌套的IF函数:

If single
  a. give <20 = "Bachelor"
  b. give >20 = "Big Donor"
If married**
  a. give <20 = "Frugal Double"
  b. give >20 = "Charity Couple"

1 个答案:

答案 0 :(得分:1)

= IF(A2="Single",IF(C2<20,"Bachelor","Big Donor"),IF(C2<20,"Frugal Double","Charity Couple"))

其中A2可以具有“单个”或其他值(如果需要,添加其他验证) 和C2可以有任何数字作为值(必要时添加其他验证)

希望有所帮助

相关问题