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
If statement 如何在谷歌表单中实现这一转变?_If Statement_Google Sheets_Transpose_Array Formulas_Google Sheets Query - Fatal编程技术网

If statement 如何在谷歌表单中实现这一转变?

If statement 如何在谷歌表单中实现这一转变?,if-statement,google-sheets,transpose,array-formulas,google-sheets-query,If Statement,Google Sheets,Transpose,Array Formulas,Google Sheets Query,我希望将左侧的行转换为右侧的行(通过逗号分隔), 实际数据包含数千行这样的行,我如何才能轻松做到这一点?使用: ={A1:D1; ARRAYFORMULA(SPLIT(QUERY(FLATTEN(IF(IFERROR(SPLIT(C2:C, ","))="",, A2:A&"♀"&B2:B&"♀"&SPLIT(C2:C, ",")&"♀"

我希望将左侧的行转换为右侧的行(通过逗号分隔), 实际数据包含数千行这样的行,我如何才能轻松做到这一点?

使用:

={A1:D1; ARRAYFORMULA(SPLIT(QUERY(FLATTEN(IF(IFERROR(SPLIT(C2:C, ","))="",,
 A2:A&"♀"&B2:B&"♀"&SPLIT(C2:C, ",")&"♀"&D2:D)), 
 "where Col1 is not null"), "♀"))}

请按照中的建议添加您的搜索/研究工作的简要说明。