unique values

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Unique Values

Unique Values

resolvedResolved · Medium Priority · Version 2003

Christianna has attended:
Excel Advanced course

Unique Values

How do I make sure my column includes only unique values?

RE: Unique Values

Hi Christianna

Thank you for your question.

There are a couple of ways of doing this. The following method works if your unique values are in Column A

Highlight column A by clicking on letter A
From the Data menu choose Data Validation and select custom.

In the formula cell paste in the following formula

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

This formula counts within column A for the value you enter. If it finds more than one the validation alert will appear. You might want to modify the warning text to explain to the user that values should be unique.

Be aware that the user could paste values into a cell in column A and no message will appear. The check only takes place when the user presses enter after keying into the cell.

I hope this helps - let us know how you get on.

Kind regards,
Andrew

Wed 14 Apr 2010: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Working with 3D formulas

You can only use fill-down if you remove $ for Absolute References.

View all Excel hints and tips


Server loaded in 0.09 secs.