Any Way of Creating a 'Unique Key'?

H

hustla7

I'm making a mortgage lending database system for my GCSE ICT coursewor
and I have a field in the database called ID Number...is there any wa
of making it a unique field i.e. no two values can be the same- an
sort of validation or anything?

THAN
 
F

Franz Verga

hustla7 said:
I'm making a mortgage lending database system for my GCSE ICT
coursework and I have a field in the database called ID Number...is
there any way of making it a unique field i.e. no two values can be
the same- any sort of validation or anything?

THANX

Hi,

First of all select the column, I assume is the A column, then from menu
Data, Validation, tab Settings, choose Custom under Allow and input this
formula:

=COUNTIF(A:A,A1)=1


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top