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
Filter 谷歌表单';另一工作表中列表的条件格式_Filter_Google Sheets_Google Sheets Formula_Gs Conditional Formatting - Fatal编程技术网

Filter 谷歌表单';另一工作表中列表的条件格式

Filter 谷歌表单';另一工作表中列表的条件格式,filter,google-sheets,google-sheets-formula,gs-conditional-formatting,Filter,Google Sheets,Google Sheets Formula,Gs Conditional Formatting,我在工作表中设置了数据验证,以便Sheet1单元格可以接受Sheet2列表中的一个值 由于Sheet2有两列,我想进行条件格式设置,以便如果选择了A列中的项目,我可以显示一种颜色,如果选择了B列中的项目,我可以显示另一种颜色 我已尝试设置格式,如果 文本包含=连接(“,”,间接(“Sheet2!C2:C”) 以及 文本包含=间接(“Sheet2!C2:C”) 但这些都不管用 我可以这样做吗 编辑 也试着去做 自定义公式=数组公式(总和(countif(B2:I26,Studenti!B2:B))

我在工作表中设置了数据验证,以便
Sheet1
单元格可以接受
Sheet2
列表中的一个值

由于
Sheet2
有两列,我想进行条件格式设置,以便如果选择了A列中的项目,我可以显示一种颜色,如果选择了B列中的项目,我可以显示另一种颜色

我已尝试设置格式,如果

文本包含
=连接(“,”,间接(“Sheet2!C2:C”)

以及

文本包含
=间接(“Sheet2!C2:C”)

但这些都不管用

我可以这样做吗

编辑

也试着去做

自定义公式
=数组公式(总和(countif(B2:I26,Studenti!B2:B))>0


它似乎是独立工作的,但内部格式规则并没有绿色:

=FILTER(A1,COUNTIF(INDIRECT("Sheet2!C1:C"),A1))
红色:

=FILTER(A1,COUNTIF(INDIRECT("Sheet2!D1:D"),A1))

它包含来自业务的名称,很遗憾无法执行。我能提供更多信息吗?