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 google表单填充的google工作表中的平均持续时间_Google Sheets_Duration_Formulas - Fatal编程技术网

Google sheets google表单填充的google工作表中的平均持续时间

Google sheets google表单填充的google工作表中的平均持续时间,google-sheets,duration,formulas,Google Sheets,Duration,Formulas,我有一个谷歌表单,它是从谷歌表单自动填充的。有一列包含持续时间: 当我尝试平均这些持续时间时,我得到了除以零的误差。我试着改变单元格格式,但没有效果。事实上,无论我选择什么格式,它都不会改变。我认为格式是基于填充工作表的表单锁定的 在列下方的单元格中获取平均值有什么帮助吗 请尝试这种配方: =sum(ArrayFormula(1*(A1:A15)))/counta(A1:A15) 使用适合的格式。问题是您将值作为文本获取 =ArrayFormula(AVERAGEIF(A1:A18*1,“>

我有一个谷歌表单,它是从谷歌表单自动填充的。有一列包含持续时间:

当我尝试平均这些持续时间时,我得到了除以零的误差。我试着改变单元格格式,但没有效果。事实上,无论我选择什么格式,它都不会改变。我认为格式是基于填充工作表的表单锁定的


在列下方的单元格中获取平均值有什么帮助吗

请尝试这种配方:

=sum(ArrayFormula(1*(A1:A15)))/counta(A1:A15)

使用适合的格式。

问题是您将值作为文本获取

=ArrayFormula(AVERAGEIF(A1:A18*1,“>0”))

  • *1
    将文本转换为数字
  • 条件
    “>0”
    跳过空单元格,转换为0
  • 将结果格式化为持续时间

展示您尝试过的公式。还请注意,不建议在表单响应中填写以下内容。