Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google sheets 谷歌工作表:如果单元格为文本| | Null | | | Error | | NaN | | Empty | | ISBLANK(执行此操作),如果单元格为数字(执行此操作)_Google Sheets - Fatal编程技术网

Google sheets 谷歌工作表:如果单元格为文本| | Null | | | Error | | NaN | | Empty | | ISBLANK(执行此操作),如果单元格为数字(执行此操作)

Google sheets 谷歌工作表:如果单元格为文本| | Null | | | Error | | NaN | | Empty | | ISBLANK(执行此操作),如果单元格为数字(执行此操作),google-sheets,Google Sheets,在谷歌的表单上,如何做到这一点 If the cell c2 && d2 is: Text || Empty || Null || NaN || ISBLANK, show "invalid" on e2; but, If both (c2 && d2) are numbers, show on e2 =SUM(c2*d2) 谢谢。把这个放在E2:=IF(AND(ISNUMBER(C2),ISNUMBER(D2)),C2*D2,“无效”) 不过,只要有=

在谷歌的表单上,如何做到这一点

If the cell c2 && d2 is: 
Text || Empty || Null || NaN || ISBLANK, 
show "invalid" on e2;
but, 
If both (c2 && d2) are numbers, 
show on e2 =SUM(c2*d2)
谢谢。

把这个放在E2:
=IF(AND(ISNUMBER(C2),ISNUMBER(D2)),C2*D2,“无效”)


不过,只要有
=IFERROR(C2*D2,“无效”)
就足够了,除非您需要空格/空值。

谢谢,返回#公式分析错误对不起,我的系统使用分号而不是逗号。我用分号替换逗号,然后转到。非常感谢。