+ Reply to Thread
Results 1 to 2 of 2

Ensure that a unique record is entered

  1. #1
    Registered User
    Join Date
    07-14-2010
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    1

    Ensure that a unique record is entered

    Validating unique records is somewhat straightforward, however I need to ensure that a unique entry is made in one column if there is a duplicate in another column. Let me explain:

    I have the following columns in my spreadsheet:
    • Serial Number
    • Repaired (Yes/No)

    There will be duplicate entries in the serial number column, but there must never be more than one Yes record against each serial number in the Repaired column.

    The following example is allowed:

    Valid.gif

    The following example is not allowed:

    invalid.gif

    Note: In the second example, there are two Yes entries against serial number 1000.
    Typically, when this occurs, the user goes to the previous Yes entry for that serial number and changes the record to No.

    Data is entered into this spreadhseet row by row. The user needs to be alerted when a duplicate Yes record is entered into the Repaired column. Even better, place the cursor at the previous Yes record so that it can be changed to No. Under no circumstances can I leave the spreadsheet in a state where there are two Yes entries for each serial number.

    I don't want to use VB for this.

    Can anyone think of a function for this?

    Thank you

  2. #2
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Ensure that a unique record is entered

    See if the validation in the attachment does what you're looking for.
    Attached Files Attached Files

+ 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