ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I prevent duplication information, such as SSNs in cells. (https://www.excelbanter.com/excel-worksheet-functions/165772-how-do-i-prevent-duplication-information-such-ssns-cells.html)

B. J.

How do I prevent duplication information, such as SSNs in cells.
 
Is there a way to prevent duplication of numbers in Excel cells such as
Social Security Numbers. Can an alert be set to get notification when a
duplication is entered in another cell in the same colomn occurs?

Texas Aggie

How do I prevent duplication information, such as SSNs in cells.
 
Select A1:A10, the use Data / Validation... on the "Settings" tab,
Select Custom under "Allow"
and use the formula

=COUNTIF($A$1:$A$10,A1)=1
--
If this reply was helpful, please indicate that your question has been
answered to help others find anwsers to similar questions.

www.silverbirddesigns.com

Fighting Texas Aggie Class of 2009


"B. J." wrote:

Is there a way to prevent duplication of numbers in Excel cells such as
Social Security Numbers. Can an alert be set to get notification when a
duplication is entered in another cell in the same colomn occurs?



All times are GMT +1. The time now is 11:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com