【发布时间】:2020-09-12 23:42:22
【问题描述】:
我想修改以下QUERY,或实现相同结果的一些公式变体,只在列顶部输入一次,并使用ARRAYFORMULA填充下面的单元格
=IFERROR(QUERY(Items!$A$2:$T,"SELECT E,F,G,H,I,J,K,L,M,N,O,P,Q,R where A = '"&Estimate!A2&"' and B = '"&Estimate!B2&"' and C = '"&Estimate!C2&"' "&if(Estimate!D2<>"", "and D = '"&Estimate!D2&"'",)&" AND A is not null LIMIT 1", 0),"")
我的公式在 my spreadsheet 的 Estimate!G2 中。
【问题讨论】:
-
在您的 Estimate 和 Item 工作表中都添加辅助列是不可能的吗?我想我有点 clunky solution 工作,但它需要添加一些帮助列。
标签: google-sheets google-sheets-formula array-formulas google-sheets-vlookup