excel条件格式帮助。 [英] excel conditional formatting help.
问题描述
这可能是一个非常简单的问题,但我正在努力争取它!
如果单元格包含某个字母,我希望突出显示某个颜色的下28个单元格。
例如,单元格1 ="O"单元格a1:a28变成蓝色
我有这个工作,但只有字母"O"才有效。在第一列(或我的范围的第一列),但我希望它在我的表格中的任何地方工作
任何建议?
提前谢谢
假设您有范围C3:M345。现在如果C3 = O则C3:C30应为蓝色,如果D3 = O则D3:D30应为蓝色。
但如果C4 = O或K8 = O那么应该做什么?
如果此后只有C3和第28个单元格将确定其余第27个单元格的格式,则使用以下公式。
假设C3将决定C3的格式: C30,C31将决定C31:C58
= OFFSET(C
3,INT((ROW() - ROW(C
3))/ 28)* 28,0)=" O"
hi, this may be a very simple one but i am hitting my head over it!
i am looking to highlight the next 28 cells along a certain colour if the cell contains a certain letter.
e.g, cell 1 ="O" cells a1:a28 turn blue
i have this working but only if the letter "O" is in the first column (or first column of my range), but i want it to work anywhere in my table
any suggestions?
thanks in advance
Say you have range C3:M345. Now If C3=O then C3:C30 should be blue, if D3=O then D3:D30 should be blue.
But if C4=O or K8=O then what it should do ?
If only C3 and 28th cell thereafter will determine the format of rest 27th cell then use below formula.
Say C3 will decide formatting of C3:C30, C31 will decide for C31:C58
=OFFSET(C
3,INT((ROW()-ROW(C
3))/28)*28,0)="O"
这篇关于excel条件格式帮助。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!