ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   format column for unique values only (https://www.excelbanter.com/excel-worksheet-functions/45108-format-column-unique-values-only.html)

JohnLute

format column for unique values only
 
How can I format a column so that it only accepts unique values?

Thanks!

--
www.Marzetti.com

KL

Hi John,

Assuming the column is [A], try selecting the entire column, got to menu
DataValidation, in the dropdown box select 'Custom' and write the following
formula in the formula box:

=COUNTIF(A:A,A1)=1

Regards,
KL


"JohnLute" wrote in message
...
How can I format a column so that it only accepts unique values?

Thanks!

--
www.Marzetti.com




JohnLute

Excellent! Thank you very much!

--
www.Marzetti.com


"KL" wrote:

Hi John,

Assuming the column is [A], try selecting the entire column, got to menu
DataValidation, in the dropdown box select 'Custom' and write the following
formula in the formula box:

=COUNTIF(A:A,A1)=1

Regards,
KL


"JohnLute" wrote in message
...
How can I format a column so that it only accepts unique values?

Thanks!

--
www.Marzetti.com






All times are GMT +1. The time now is 06:41 PM.

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