来自另一个单元格的条件格式 [英] Conditional formatting from another cell
问题描述
我想知道如何有条件地控制格式如下:
单元格A可以有多个不同的输入。取决于什么,它被彩色格式化。
单元格B可以有一个值。如果没有,它应该保持未格式化。
如果它有一个值,它应该具有与单元格A相同的颜色格式。
如果单元格A更改,则应更改颜色格式
如果ColumnA的CF应用公式,那么使用A($ A)的固定引用,颜色可以应用于ColumnB,其中适用范围是A:B。 问题可能只是在ColumnA中的单元格中立即在空白(ColumnB)左侧的触发器(即值)。对于这种情况,仅对ColumnB应用附加的CF规则(例如 = $ B1 =
,并通过检查Stop If True并将其放在列表顶部。
I would like to know how to conditionally control formats as below:
Cell "A" can have several different inputs. Depending on what, it gets colored formatted.
Cell "B" can have a value or not. If it doesn't have it it should stay unformatted. If it has a value it should have the same color format as cell "A".
If cell "A" changes it should change the color format in cell "B" also, without changing the value in cell "B".
Can someone help me?
IF the CF for ColumnA is applied with formulae then with fixed references for A ($A) the colours can be applied to ColumnB also where the Applies to ranges are A:B. The 'problem' may be only that there may be a trigger (ie a value) in a cell in ColumnA that is immediately to the left of a blank (ColumnB). For that case, apply an additional CF rule to ColumnB only (such as =$B1=""
and ensure that has priority by checking Stop If True for it and placing it at the top of the list.
这篇关于来自另一个单元格的条件格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!