[英]Excel If column A has same value then highlight max date in column B
Looking for Excel conditional formatting help. 寻找Excel条件格式帮助。
Need to highlight Max Date from Column B if Column A has same values. 如果列A具有相同的值,则需要突出显示列B的“最大日期”。 For Example;
例如; in column A value of "16870288";
在A列中的值为“ 16870288”; "2018/07/20" should be highlighted in column B.
B栏中应突出显示“ 2018/07/20”。
Any help is appreciated. 任何帮助表示赞赏。
Sorted as shown (ie ColumnA grouped together and within that ColumnB ascending), then a CF formula rule of: 如图所示进行排序(即ColumnA分组在一起并且在该ColumnB中升序),然后计算CF公式:
=A2<>A3
applied in B2 and to the range B2:Bn where n
is what suits, should serve. 应用于B2并应用于B2:Bn范围,其中
n
是合适的值。
Create a conditional formatting rule for column B based on a MAXIFS formula. 基于MAXIFS公式为B列创建条件格式设置规则。 If you don't have the newer MAXIFS function, create a pseudo-MAXIFS with INDEX or AGGREGATE.
如果没有较新的MAXIFS函数,请使用INDEX或AGGREGATE创建一个伪MAXIFS。
=AND($B1<>"", $B1=AGGREGATE(14, 7, B:B/($A$1:$A$9999=$A1), 1))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.