ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   can i stop repeating values? (https://www.excelbanter.com/excel-discussion-misc-queries/102882-can-i-stop-repeating-values.html)

Haitham

can i stop repeating values?
 
if I want to make each cell with unique value in specific Coolum in the
meaning that if I tray to write the same value again would not be accepted.

Arvi Laanemets

can i stop repeating values?
 
Hi

Use data validation
For column A:
DataValidation...Custom with Formula = (COUNTIF(A:A,A1)<2)


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Haitham" wrote in message
...
if I want to make each cell with unique value in specific Coolum in the
meaning that if I tray to write the same value again would not be
accepted.





can i stop repeating values?
 
Hi

Select your column (D, for example), go to Data/Validation and select
Custom. In the Formula box type:
=COUNTIF(D:D,D1)<2

Hope this helps.
Andy.

"Haitham" wrote in message
...
if I want to make each cell with unique value in specific Coolum in the
meaning that if I tray to write the same value again would not be
accepted.





All times are GMT +1. The time now is 08:33 PM.

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