- 分享
- 0
- 人气
- 15
- 主题
- 135
- 帖子
- 1619
- UID
- 203539
- 积分
- 4209
- 阅读权限
- 22
- 注册时间
- 2009-2-27
- 最后登录
- 2025-6-13
- 在线时间
- 10439 小时
  
|
Alert checking 需要macro create一个Data validation的button,
Select the range of cells in which you want to prevent duplicates (for example, A1:A50).
From the Data menu select Validation.
Click on the Settings tab.
From the Allow dropdown box select Custom.
In the formula box type =COUNTIF($A$1 A$50,A1)=1
Click on the Error Alert tab.
In the Title box type "Duplicate Entry!"
In the Error Message box type "You cannot enter a value already in the list."
如果你只是要确保不要duplicate,在Data -> Data Tools-> Remove Duplicates是最简单的 |
|