+ Reply to Thread
Results 1 to 2 of 2

Data Validation Question

  1. #1
    Registered User
    Join Date
    08-09-2007
    Posts
    3

    Data Validation Question

    Hi,

    I would be most grateful if someone could offer me some advice on the following:

    I have a spreadsheet with columns X, Z, AB, AD, AF and AH labelled with the
    following column headings: Cheque Number 1, Cheque Number 2, Cheque Number 3 etc...

    How do I set Data Validation on these columns to do the following:

    1. Only a except a 9 digit Cheque Number.
    2. To not allow any duplicate entires in any of the columns listed above.
    For example; a value entered into Column Z will be cross referenced with
    values in Z, AB, AD and AH to see if it has been duplicated.

    Is this possible?

    If not I would be quite happy with just duplicate values to be located in
    an individual column only. For example, for the validation process to search
    on a single column only.

    Kind regards,

    Simon.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Simon

    In X2 go Data, Validation, Custom, Formula: =AND(LEN(X2) = 9,COUNTIF($X2:$AH2,X2)=1)

    Copy across to the relevant cells, and down as required.

    HTH

    rylo

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1