+ Reply to Thread
Results 1 to 5 of 5

Duplicate entry validations

  1. #1
    Registered User
    Join Date
    05-25-2015
    Location
    Velika Gorica, Croatia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Duplicate entry validations

    Hello all,

    I need help with a validation? problem.

    I have a spreadsheet with following columns:

    Column A: user ID (Number). Can contain duplicate entries of single user.
    Column B: "Add", "Remove" drop-down column. Drop-down set using data validation.

    What I need is if value in Column B is changed and user ID is a duplicate number to get a information message that we are changing a value of duplicate entry (see below for example).

    In below example I would get information message only when column "Add/Remove" for entries 2 and 4 are changed (red ones) Because for these 2 entries User ID is same (same user).

    User ID Add/Remove
    1 123 Add
    2 234 Remove
    3 345 Add
    4 234 Add
    5 456 Remove
    6 789 Add

    P.S. VBA code solution is OK for me as well.

    Thank you in advance & kind regards,
    Marko

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Duplicate entry validations

    cel c3 =

    =if(countif($A$3:$A$500,$A3)=1,"","values are changed")

    and drag down
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    05-25-2015
    Location
    Velika Gorica, Croatia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Duplicate entry validations

    Hi Oeldere,

    Thanks for the quick reply. I can surely say that I was not clear enough when I wrote the question. What I need is a popup message to show. Something similar to a warning/information that you get when using Data validation in Excel and not only in a text in a separate cell.

    Kr,
    Marko

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Duplicate entry validations

    Ok, I can't help you with that (pop up).

    But you could filter the value (values are changed) and change the data.

    (I expect you want the change the data).

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Duplicate entry validations

    Hi,

    One way with Data Validation using the Custom setting
    e.g. B2

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. Replies: 0
    Last Post: 02-04-2014, 12:36 AM
  2. Multiple data validations with List & cell entry
    By sureshpa in forum Excel General
    Replies: 2
    Last Post: 07-04-2013, 02:15 AM
  3. Multiple data validations for a data entry spreadsheet
    By VSK_NEW in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2013, 07:06 AM
  4. how to entry same number twice when I alr set cannnot entry duplicate data.
    By Adamlearnexcel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-05-2012, 09:44 PM
  5. Validations Based On Previous Validations
    By PhatPhil in forum Excel General
    Replies: 5
    Last Post: 11-16-2009, 04:19 AM

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