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 组合值​;根据条件,使用Arrayformula | Google Sheets_Google Sheets_Array Formulas_Textjoin - Fatal编程技术网

Google sheets 组合值​;根据条件,使用Arrayformula | Google Sheets

Google sheets 组合值​;根据条件,使用Arrayformula | Google Sheets,google-sheets,array-formulas,textjoin,Google Sheets,Array Formulas,Textjoin,组合选定值的函数应该是什么​​使用数组函数将其转换为一个函数,看起来像什么? 如果Id和data相同,我希望该函数能够组合Unique Nr 试试: =ARRAYFORMULA(REGEXREPLACE(TRIM(SPLIT(FLATTEN( QUERY(QUERY({A2:A&","\ B2:B&" "&C2:C&"♦"}; "select max(Col1) where Col

组合选定值的函数应该是什么​​使用数组函数将其转换为一个函数,看起来像什么? 如果
Id
data
相同,我希望该函数能够组合
Unique Nr

试试:

=ARRAYFORMULA(REGEXREPLACE(TRIM(SPLIT(FLATTEN(
 QUERY(QUERY({A2:A&","\ B2:B&" "&C2:C&"♦"}; 
 "select max(Col1) 
  where Col1 <> ',' 
  group by Col1 
  pivot Col2");; 9^9)); "♦")); ",$"; ))
=阵列公式(REGEXREPLACE)(修剪(拆分)(展平(
查询(查询({A2:A&“,”\B2:B&“&C2:C&”♦"}; 
“选择最大值(第1列)
其中Col1','
Col1分组
枢轴轴(2);;9^9);”♦")); ",$"; ))

谢谢,这正是我想要的。是否可以重做以使结果不包含第一列(F)?-唯一_nr@AdOne当然:
=ARRAYFORMULA(INDEX)(REGEXREPLACE)(TRIM)(SPLIT)(plant)(查询({A2:A&“,“\B2:B&”&C2:C&♦};“选择最大值(Col1),其中Col1”,“按Col1轴Col2分组”;9^9)♦);“,$”;;2))
也许您知道如何仅对E2:E=TRUE的记录应用整个函数我试图添加筛选器或if函数,但它不起作用properly@AdOne