ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   ? format column so no duplicate entries are accepted (https://www.excelbanter.com/excel-worksheet-functions/77062-format-column-so-no-duplicate-entries-accepted.html)

Selina

? format column so no duplicate entries are accepted
 
Am attempting to set up database in Excel and need to format one column so
that it does not accept duplicate entries through the column?

Trevor Shuttleworth

? format column so no duplicate entries are accepted
 
Select the column, in this example, column A.

Select Data | Validation... | Settings tab | Allow: Custom and put the
folowing formula in the Formula box:

=COUNTIF($A:$A,$A1)<2

You will now not be able to create a duplicat entry in column A

Regards

Trevor


"Selina" wrote in message
...
Am attempting to set up database in Excel and need to format one column so
that it does not accept duplicate entries through the column?





All times are GMT +1. The time now is 02:43 PM.

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