Excel:根据达到的阈值并与字符串匹配更改单元格的颜色

Excel: Change the color of the cell based on a threshold reached and matching to a string

Activity Employee Week of May 17 Week of May 24
Inbox Alice 3 4
Inbox Jane 5 8
Alpha Project Alice 10 3
Beta Project Francis 7 5
Chi Project Jane 4 3

我尝试使用条件格式、数组和 Vlookup,但无法清楚地获得以下最终结果。

最终结果是标记任何人在给定的一周内工作超过 10 小时

Table以上。

最终结果应更改此 table 之外标题为“爱丽丝”的单元格的颜色,因为爱丽丝在 5 月 17 日那一周工作了 13 个小时。

最终结果应更改此 table 之外标题为“Jane”的单元格的颜色,因为 Jane 在 5 月 24 日那一周工作了 11 个小时。

Francis 的工作时间不超过 10 小时,因此无需采取任何措施。

非常感谢对此的任何帮助 --

使用以下公式创建条件:

=SUMIF(B2:B6,F2,C2:C6)>10

其中 B2:B6 是员工姓名列,F2 是您要着色的单元格,C2:C6 是 5 月 17 日那一列