[英]How do I create a null value (skip a cell) when entering a literal array in Google Sheets?
I would like to create a master template that only contains one formula by using the following in B2: 我想通过在B2中使用以下内容来创建仅包含一个公式的主模板:
=arrayformula({left(A2:A),right(A2:A)})
Where the user only enters data in column A. 用户仅在A列中输入数据的地方。
Suppose I would like the user to enter data in column A, perform calculations in columns B and C, have the user enter other data in column D, and then perform one more calculation in column E. 假设我希望用户在A列中输入数据,在B和C列中执行计算,让用户在D列中输入其他数据,然后在E列中再执行一次计算。
How do I write a literal array to skip column D, so that the user can enter data there without causing: "Array result was not expanded because it would overwrite data in D2"? 如何编写文字数组以跳过列D,以便用户可以在其中输入数据而不会导致:“数组结果未展开,因为它将覆盖D2中的数据”? The following is my futile attempt at skipping column D:
以下是我跳过D列的徒劳尝试:
=arrayformula({left(A2:A),right(A2:A),,mid(D2:D,2,1)})
This obviously yields a formula parse error. 显然这会产生公式解析错误。
How do I write a literal array to skip column D, so that the user can enter data there without causing: "Array result was not expanded because it would overwrite data in D2"?
如何编写文字数组以跳过列D,以便用户可以在其中输入数据而不会导致:“数组结果未展开,因为它将覆盖D2中的数据”?
Instead of using a single formula, use two formulas, one to fill columns B and C and another to fill column E. 而不是使用一个公式,而是使用两个公式,一个用于填充列B和C,另一个用于填充列E。
Using a single formula will cause the error that you described. 使用单个公式将导致您描述的错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.