+ Reply to Thread
Results 1 to 4 of 4

Making an error for a repeated word? Data validation

  1. #1
    Registered User
    Join Date
    12-24-2019
    Location
    United States
    MS-Off Ver
    2016
    Posts
    3

    Making an error for a repeated word? Data validation

    Hello,

    Looking at the November tab on the attached you see I have a list of colors that are data validated from the 1st Tab, in a column A. I have a list like this I have to do every month. It is a lot longer and the types change.

    I'm trying to make an error for a repeated word in a column. So if i'm going down the list in December and I try to select blue again I want an error or maybe have it set up in a way so the word doesn't get repeated.

    Let me know your thoughts!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,481

    Re: Making an error for a repeated word? Data validation

    Administrative Note:

    Welcome to the forum.

    Although we value your privacy as much you do, it could be important that members have a rough idea of your location as the solutions they offer may be affected by your locale. For instance, you might in the future post questions which are related to your regional settings.

    With this in mind, please update your profile to something more precise (something such as UK, Europe, USA, UAE, etc. will suffice).

    Thank you for helping us to help you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Making an error for a repeated word? Data validation

    you could use something like this in column C (C4 for example and dragged down) to show an error if it repeats...
    =IF(COUNTIF($A$4:A4,A4)>1,"Error","")
    But if you want something to indicate it if you select it that might be VBA which requires coding and someone will have to give you code for that (don't have those skills myself).
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    12-24-2019
    Location
    United States
    MS-Off Ver
    2016
    Posts
    3
    updated!
    Last edited by AliGW; 01-03-2020 at 12:34 PM. Reason: Please don't quote unnecessarily!

+ 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. [SOLVED] Repeated words: remove duplicates, display word along with the number of times repeated
    By number9 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-24-2019, 03:32 PM
  2. Replies: 8
    Last Post: 10-04-2018, 05:09 AM
  3. [SOLVED] Data Validation Messages in case of repeated data!
    By Keibri in forum Excel General
    Replies: 5
    Last Post: 11-05-2016, 07:14 AM
  4. Need help making data entry easier since some information is repeated on rows.
    By MissAudrey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2015, 01:05 PM
  5. [SOLVED] making data validation work
    By mrl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-20-2013, 03:43 PM
  6. data validation without repeated data
    By neorez in forum Excel General
    Replies: 5
    Last Post: 02-10-2010, 08:02 AM
  7. data validation-entries are repeated
    By mduke in forum Excel General
    Replies: 3
    Last Post: 01-16-2009, 11:03 AM

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