+ Reply to Thread
Results 1 to 3 of 3

Checking for Duplicates

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Houston TX
    MS-Off Ver
    Excel 2016
    Posts
    22

    Checking for Duplicates

    Hi. I found this formula for "checking for duplicates" via conditional format rules.

    I would like to modify it to only search for the first 5 characters to match.

    =countif(A:A,A1)>1

    thanks, Randy

  2. #2
    Registered User
    Join Date
    12-17-2018
    Location
    Brisbane, Australia
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Checking for Duplicates

    add a new column for the first 5 characters using =LEFT(A,5) and run the countif on this column

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Checking for Duplicates

    Try it like this:

    =countif(A:A,left(A1,5)&"*")>1

    Hope this helps.

    Pete

+ 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. Checking for Duplicates
    By oleander in forum Excel General
    Replies: 2
    Last Post: 12-11-2018, 05:01 PM
  2. [SOLVED] Checking for Duplicates
    By s2jrchoi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-26-2013, 09:31 AM
  3. Checking for duplicates
    By Rwilliams_09 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-11-2012, 07:10 PM
  4. checking for duplicates
    By dan2010 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2010, 04:04 AM
  5. Checking for duplicates
    By adam2308 in forum Excel General
    Replies: 7
    Last Post: 10-15-2009, 07:27 PM
  6. checking for duplicates
    By David Obeid in forum Excel General
    Replies: 1
    Last Post: 06-13-2007, 06:07 PM
  7. Replies: 9
    Last Post: 02-27-2006, 05:35 PM

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