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

unique values

ResolvedVersion 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:

Change the Print button so it brings up the Print dialogue box

If you want to bring up the Print dialogue box to check your print settings when you hit the Print button, do the following:

1. Right-click on the toolbar that displays the Print button.

2. Select Customise.

3. Click on the Print button on the toolbar to select it, then hold the left mouse button down and drag the button towards the screen below. The button should come off the toolbar.

4. In the Customise dialogue box on your screen, select the Commands tab.

5. Select File from the Categories list, and then locate the Print... icon (looks like the normal Print button, but the word Print has three dots following it).

6. Click on the Print... icon to select it, then use your left mouse to drag and drop the icon onto the toolbar at the top of the screen.

7. Close the Customise dialogue box.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.