如果列包含给定数字 X 次,则突出显示单元格

发布于 2024-11-15 12:04:42 字数 90 浏览 6 评论 0原文

我有一个大型 Excel 电子表格,其中有一列包含标识号。每个唯一的数字将至少出现 12 次。我想强调那些出现超过 12 次的数字。有没有办法以非编程方式做到这一点?

I have a large Excel spreadsheet with a column that has an identifying number. Each unique number will occur at least 12 times. I would like to highlight those numbers that appear more than 12 times. Is there a way to do this non-programmatically?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

比忠 2024-11-22 12:04:42

假设 A 列中有您所有的数字。然后,要突出显示出现次数超过 12 次的值,请执行以下操作:

  1. 格式 >条件格式...
  2. 在第一个下拉列表中选择公式为
  3. 在相邻框中键入 =COUNTIF(A:A, A1) > 12
  4. 现在选择所需的颜色来突出显示

这有帮助吗?

Suppose in column A you have all your numbers. Then to highlight values that occur more than 12 times do as follows:

  1. Format > Conditional Formatting...
  2. In first dropdown select Formula Is
  3. In the adjacent box type =COUNTIF(A:A, A1) > 12
  4. Now select the desired color to highlight

Does this help?

爱殇璃 2024-11-22 12:04:42

使用条件格式:

=COUNTIF(INDIRECT(ADDRESS(1,COLUMN())&":"&  
         ADDRESS(65536,COLUMN())),INDIRECT(ADDRESS(ROW(), COLUMN())))>=12

选择整个工作表,然后选择条件格式。应用此公式,然后选择您想要的格式。它适用于任何列中的任何单元格。

Use Conditional Formatting:

=COUNTIF(INDIRECT(ADDRESS(1,COLUMN())&":"&  
         ADDRESS(65536,COLUMN())),INDIRECT(ADDRESS(ROW(), COLUMN())))>=12

Select the entire sheet, then choose Conditional Formatting. Apply this formula, and pick the formatting you'd like. It will work for any cell, in any column.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文