+ Reply to Thread
Results 1 to 2 of 2

Trying to create a data validation field that doesn't allow blanks or duplicates

  1. #1
    Registered User
    Join Date
    06-04-2014
    Posts
    1

    Trying to create a data validation field that doesn't allow blanks or duplicates

    Hi,
    i have a table for gym members and each member is assigned a unique member number.

    spreadsheet.PNG

    I wish to create a data validation field that wont allow you to leave the cells blank or use the same code twice.

    this was my attempt that failed: =AND(ISERROR(MATCH(A:A, A2, 0)) <>FALSE, A2<>""

    Any help would be greatly appreciated, thankyou in advance

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Trying to create a data validation field that doesn't allow blanks or duplicates

    For A2 try this
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA to create validation List & Ignore duplicates
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-15-2013, 10:52 AM
  2. Create Expression in Validation section Prevent Duplicate entry in a Field
    By haleakala17 in forum Access Tables & Databases
    Replies: 0
    Last Post: 09-11-2012, 06:22 PM
  3. Replies: 0
    Last Post: 09-08-2011, 02:22 PM
  4. validation list without duplicates and blanks
    By iRounak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2010, 02:43 AM
  5. Cell Validation "Ingnore Blanks" doesn't work
    By keithb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2005, 09:05 PM

Tags for this Thread

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