+ Reply to Thread
Results 1 to 7 of 7

Trouble with my excel multiple columns preventing duplicate entries

  1. #1
    Registered User
    Join Date
    01-24-2018
    Location
    Xiamen
    MS-Off Ver
    Windows 7
    Posts
    2

    Trouble with my excel multiple columns preventing duplicate entries

    Hi Guys,

    This is Bella from China. I come across this forum from google search. I cannot find answers from our domestic searching engine so I searched from Google. My case is I am making an excel with 3 successive columns, column H, I, J, I need the texts in each cell of these three columns to be unique. All the answers I can find is teaching you how to prevent duplicate entries in one column. But I need in 3 successive columns, each entry is unique.

    Is there any formula in the data validity setting? Will be much thankful for anyone who can help me with this. I am stuck now. Urgent need, highly appreciated!

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Trouble with my excel multiple columns preventing duplicate entries

    You can conditionally format across columns so when a duplicate is entered it will highlight the issue.

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Trouble with my excel multiple columns preventing duplicate entries

    Ho Bella, Welcome to excel forum.


    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Registered User
    Join Date
    01-24-2018
    Location
    Xiamen
    MS-Off Ver
    Windows 7
    Posts
    2

    Re: Trouble with my excel multiple columns preventing duplicate entries

    COUNTIF(A$1:A1,A1)=1

    thank you for your reply but I don't uderstand. Above is the formula to prevent duplicate entries in one column. Do you know the formula of preventing in multiple columns? Great thanks!

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Trouble with my excel multiple columns preventing duplicate entries

    It is hard to know what you want.
    If you want to identify duplicates anywhere in a three column range you could select the range and apply the rule for highlighting duplicates as modeled on sheet 1 of the attached file.
    If you want to identify duplicates on a single row you could use a helper column as modeled on sheet 2.
    If you want to restrict the use of duplicates it will take a bit of doing, however I have put an example of how you could make a shrinking list for data validation and apply that to your three columns as modeled on sheet 3.
    Test by attempting to apply one of the letters that has already been used into cell I3.
    Note: the third option does restrict the possible inputs to whatever is put in "WholeList".
    If none of these meets your needs, please follow shukla's directions and upload a file.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Trouble with my excel multiple columns preventing duplicate entries

    I used data validation to make it impossible to enter duplicate values in a range
    Attached Files Attached Files
    Kind regards,
    Piet Bom

  7. #7
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Trouble with my excel multiple columns preventing duplicate entries

    Hi Bella,
    Are there any useable solutions for you ?
    與親切的問候

+ 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. help with preventing duplicate entries
    By kranic3 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-29-2017, 12:44 PM
  2. Preventing Duplicate's, Multiple columns & on Multiple Tabs - Validation
    By Victoriak in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2014, 04:22 AM
  3. [SOLVED] Preventing Duplicate Entries
    By flashdisk in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-13-2013, 08:37 PM
  4. [SOLVED] Help Preventing Duplicate Entries
    By LoneWolf3574 in forum Excel General
    Replies: 5
    Last Post: 12-13-2012, 02:39 AM
  5. Preventing duplicate row entries
    By kennethchu604 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-19-2009, 07:10 PM
  6. Preventing duplicate entries
    By Ltat42a in forum Excel General
    Replies: 9
    Last Post: 06-14-2008, 08:55 AM
  7. Preventing Duplicate entries
    By Dave32 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-14-2008, 09:51 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