简体   繁体   English

Excel 2016中的条件格式减去空白单元格

[英]Conditional Formatting in Excel 2016 minus blank cells

I'm trying to get a column to highlight cells with duplicate values, but NOT the blank cells. 我正在尝试获取一列以突出显示具有重复值的单元格,而不是空白单元格。 I have seen a lot of information for older Excel programs, but I'm working specifically with Excel 2016 . 我已经看到了许多有关旧版Excel程序的信息,但是我专门使用Excel 2016

I have tried =COUNTIF, but I just can't seem to get it to work without error. 我尝试过= COUNTIF,但我似乎无法使其正常工作。 I know how to get Excel 2016 to highlight duplicates, just not while also excluding blank cells. 我知道如何让Excel的2016年突出的重复,只是不同时排除空白单元格。

Thanks in advance for any help or suggestions you have! 预先感谢您的任何帮助或建议!

There is a really simple solution to this that doesn't involve formulas. 有一个非常简单的解决方案,它不涉及公式。 Create two conditional formatting rules over the specific range, in the following order: 按照以下顺序在特定范围内创建两个条件格式设置规则:

  1. Cell Contains a blank value -> no formatting -> stop if true 单元格包含空白值->无格式->如果为true,则停止
  2. Duplicate value -> custom formatting 重复值->自定义格式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM