如何在excel中修复此嵌套if命令?

时间:2016-03-27 20:17:05

标签: excel excel-formula

我有一个excel doc,我记录了某个应用程序的崩溃。

其中一行内容如下

3/27/2016 | (Cell B39)  |   null |  mins |  null |  secs |  (Command)

...命令是,

=IF(ERROR.TYPE(B39) =3,"Hasn't Crashed Yet",IF(B39 =0, "No Crash", "Crashed"))
  • 当B39 = 0时,我希望它输出" No Crash"。
  • 当B39是任何大于0的数字时,我希望它输出" Crashed"。
  • 当B39出现错误时,我希望它输出" Hasn&#t; t Crashed Yet"。

当前命令输出" Hasn&t; t Crashed Yet"当B39是错误时,但当B39为0或更高时,它输出#N/A

1 个答案:

答案 0 :(得分:0)

尝试,

=if(isnumber(B39), if(b39>0, "crashed", "no crash"), if(iserror(b39), "hasn't crashed yet", "how'd I get here?"))