Conditional Formatting (Color) of cells on a sheet based on values on another sheet

时间:2018-01-08 01:21:54

标签: google-sheets gs-conditional-formatting

I am trying to achieve conditional formatting but Unable to sort out a system. Things i am trying to achieve:

  1. Match Styles and Pattern column in both sheets. Range: A21: B40 with A2: C63.
  2. Upon Match, Column headers ( G1 : AO1 ) in Order Sheet would be matched with the Guide Sheet Row Values A21: B40, where color of cell would change according to the guide sheet in the order sheet. If any column headers dont match then it would stay white.

I have attached an example sheet where the ST5 in the order sheet was used as example but manually. If the process could be made automatic it would ease my work in office.

Example Sheet https://docs.google.com/spreadsheets/d/1cTgAKhIO0_OJgoReuAMSaZU-7BE4P2xHdt3ASsPgIH0/edit?usp=sharing

的图片,触发featherlight.js

我也愿意通过环聊来对这些系统进行排序。

很抱歉无法清楚解释并提前致谢。

1 个答案:

答案 0 :(得分:0)

对于指南,您需要4条规则。添加单元格C21。这将是颜色代码指南。

适用于范围C21:R1017(适用于所有4条规则)

自定义公式

dplyr

对于订单,您需要脚本。请尝试以下方法:

=match(C21,$C$2:$C$10,0)

=match(C21,$E$2:$E$16,0)

=match(C21,$G$2:$G$9,0)

=match(C21,$I$2:$I$4,0)

这是电子表格的工作示例。制作副本并试一试:

https://docs.google.com/spreadsheets/d/12KoRLAnkJwQB0OKTmauxmqxq5BT71gyIgCo3Wf-jemk/edit?usp=sharing