简体   繁体   English

Excel如果A列具有相同的值,则在B列中突出显示最大日期

[英]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.

相关问题 对于每个列突出显示最大值(Excel) - For each Column highlight max value (Excel) excel如果a列中的名称与b列具有相同的日期,则将c列中的所有结果相加 - excel if a name in column a has the same date as column b add together all results in column c 给定A列中的值,在EXCEL中的B列中找到min / max - Given value in column A, find min/max in column B in EXCEL Excel VBA在同一日期在B列中计算B列中的重复项 - Excel VBA count duplicates in Column B within same date in Column A Excel-CountIfs(列A具有目标值,列B为空白) - Excel - CountIfs (column A has target value, column B is blank) excel-如果a列的值相同,如何用值填充b列 - excel - how to fill column b with values if value of column a is the same 根据 A 列(Excel VBA)中选定单元格中的值突出显示 B 列中的值 - Highlight a value in Column B based on Value in a selected cell in Column A (Excel VBA) Excel条件格式,如果列A包含任何值高亮显示列B中的相邻单元格 - Excel Conditional Formatting If Column A Contains ANY Value Highlight Adjacent Cell In Column B 如果列中的相邻单元格具有相同的值,则突出显示该单元格 - Highlight cell if an adjacent cell in column has the same value Microsoft Excel - 对于A列中的每个唯一值,从C列返回最大值,从B返回相应的值 - Microsoft Excel - for each unique value in column A, return max value from column C and the corresponding value from B
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM