如果谷歌电子表格的同一列中的值重复,如何突出显示单元格? [英] How to highlight cell if value duplicate in same column for google spreadsheet?
本文介绍了如果谷歌电子表格的同一列中的值重复,如何突出显示单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找谷歌电子表格的公式如果值在同一列中重复,则突出显示单元格
I am looking for formula for google spreadsheet highlight cell if value duplicate in same column
任何人都可以帮助我进行此查询吗?
can anyone please assist me for this query?
推荐答案
试试这个:
- 选择整列
- 点击格式
- 点击条件格式
- 点击添加另一条规则(或编辑现有/默认规则)
- 将单元格格式设置为:
自定义公式为
- 将值设置为:
=countif(A:A,A1)>1
(或将A
更改为您选择的列) - 设置格式样式.
- 确保范围适用于您的列(例如,
A1:A100
). - 点击完成
- Select the whole column
- Click Format
- Click Conditional formatting
- Click Add another rule (or edit the existing/default one)
- Set Format cells if to:
Custom formula is
- Set value to:
=countif(A:A,A1)>1
(or changeA
to your chosen column) - Set the formatting style.
- Ensure the range applies to your column (e.g.,
A1:A100
). - Click Done
将检查 A1:A100 单元格中写入的任何内容,如果有重复项(出现多次),则会对其进行着色.
Anything written in the A1:A100 cells will be checked, and if there is a duplicate (occurs more than once) then it'll be coloured.
对于使用逗号 (,
) 作为小数分隔符的语言环境,参数分隔符很可能是分号 (;
).也就是说,尝试:=countif(A:A;A1)>1
,而不是.
For locales using comma (,
) as a decimal separator, the argument separator is most likely a semi-colon (;
). That is, try: =countif(A:A;A1)>1
, instead.
对于多列,使用countifs
.
For multiple columns, use countifs
.
这篇关于如果谷歌电子表格的同一列中的值重复,如何突出显示单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文