解析Google电子表格公式中的错误

时间:2019-05-22 12:32:46

标签: google-sheets google-form array-formulas google-sheets-formula

我要为填写Google表单的电子表格生成一个ID。我的公式来自

How to assign a unique ID to a google form input?

=arrayformula( if( len(A2:A), "" & text(row(A2:A) - row(A2) + 2, "000") & RIGHT(VALUE(A2:A), 3), iferror(1/0) ) )

但是会给出解析错误。

自2017年以来Google表格公式语法是否发生了变化?我该如何解决?

1 个答案:

答案 0 :(得分:1)

如果适合您,请尝试以下操作:

=ARRAYFORMULA(IF(LEN(A2:A); 
 TEXT(ROW(A2:A) - ROW(A2) + 2; "000")&RIGHT(VALUE(A2:A); 3); IFERROR(1/0)))
相关问题