Google表格 - 在一个单元格中使用多个IF语句

时间:2016-01-21 20:33:51

标签: if-statement google-sheets spreadsheet

我试图在一个单元格中总结三个if语句但只得到“公式解析错误”

这是我的陈述:

IF(E_CONTRACT = "SENT"; TODAY()+7; "")
IF(E_CONTRACT = "SIGNED"; "Reminder disabled"; "")
IF(E_CONTRACT = "NOT SENT"; "-"; "")

我试过

IF(E_CONTRACT = "SENT"; TODAY()+7; ""), 
IF(E_CONTRACT = "SIGNED"; "Reminder disabled"; ""), 
IF(E_CONTRACT = "NOT SENT"; "-"; "")

1 个答案:

答案 0 :(得分:1)

假设代替E-Contract,你指向一个有值的单元格,这里是正确的格式:

=IF(E_CONTRACT = "SENT", TODAY()+7, IF(E_CONTRACT = "SIGNED", "Reminder disabled", IF(E_CONTRACT = "NOT SENT", "-", "")))