根据 1 个单元格的值给几个单元格着色
我有一个每小时计划,其中员工会议的时间自动显示在另一张纸上。 我需要根据会议的长度用特定的颜色标记它。 前任。
"
A1=0,5 则 A1 为蓝色 如果 A1=1 则 A1 和 A2 为蓝色 如果 A1=1,5 则 A1、A2、A3 为蓝色等。"
我只找到如何使用条件格式或 VBA 标记特定单元格的信息,但不知道如何将公式应用于整个桌子
I have a hourly plan where time of employees' meetings automatically appears from an other sheet.
I need it to be marked with specific color according to meeting's lenght.
Ex.
"
A1=0,5 then A1 is blue
if A1=1 then A1 and A2 is blue
if A1=1,5 then A1, A2, A3 is blue and etc."
I only find info how to mark specific cell using conditional formating or VBA, but don't know how to apply formula to the whole table
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
条件格式
选择您想要应用此功能的范围,例如
A1:A10
或A1:J10
(如果您希望此功能也适用于其他列)。在
Home
选项卡上选择Conditional Formatting >新规则
。在“新格式”窗口中,选择“使用公式确定要设置格式的单元格”。
在下面的文本框中输入以下公式:
按下面的
格式
按钮,然后在设置单元格格式
窗口中选择填充
选项卡。选择一种颜色并按Ok
3 次。Conditional Formatting
Select the range where you want this applied, e.g.
A1:A10
, orA1:J10
if you want this to work in the other columns, too.On the
Home
tab selectConditional Formatting > New Rule
.In the
New Formatting
window select Use formula to determine which cells to format.In the text box below enter this formula:
Press the
Format
button below and in theFormat Cells
window select theFill
tab. Select a color and pressOk
3 times.