+ Reply to Thread
Results 1 to 4 of 4

Need to find duplicate cell values from ONLY cells containing a specific character

  1. #1
    Registered User
    Join Date
    09-13-2018
    Location
    canada
    MS-Off Ver
    office 2013
    Posts
    27

    Need to find duplicate cell values from ONLY cells containing a specific character

    Hi,

    I want to search column C, and hi-light all duplicate values. But I only want to compare cells which contain the character _

    So if in C column , I have the following:

    apple <-----(ignore this dupe)
    dog
    dog_a
    cat
    apple <----- (ignore this dupe)
    cat_a
    dog_a

    I only want it to find dupes with _. Ignore any other dupes

    I have this code which is not working. Nothing happens:


    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Need to find duplicate cell values from ONLY cells containing a specific character

    You could use Conditional Formatting with this formula...

    =AND(FIND("_",A1),COUNTIF(A:A,A1)>1)
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    09-13-2018
    Location
    canada
    MS-Off Ver
    office 2013
    Posts
    27

    Re: Need to find duplicate cell values from ONLY cells containing a specific character

    How exactly do I do this? I made a rule and used that formula, then added a "find duplicates" rule after it. didnt do anything....

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Need to find duplicate cell values from ONLY cells containing a specific character

    Just select column A then make a rule with that formula. Don't need to make a find duplicates rule. It works for me.

+ 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] Copying Values of a Cell After a Specific Character
    By financeanalyst in forum Excel General
    Replies: 7
    Last Post: 04-02-2014, 04:54 PM
  2. [SOLVED] SUM values only if cell starts with specific character
    By miop in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-17-2013, 04:27 PM
  3. [SOLVED] Find cells with text that contains a specific character, pass cell value to an array
    By schmidt62 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-28-2012, 09:15 PM
  4. Replies: 4
    Last Post: 07-14-2012, 07:26 AM
  5. Formula to find a specific character in a cell
    By yr25 in forum Excel General
    Replies: 3
    Last Post: 07-12-2012, 08:37 PM
  6. Find Specific character in a Cell
    By CobraLAD in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2009, 04:06 AM
  7. find specific character in a cell
    By LiamF in forum Excel General
    Replies: 2
    Last Post: 08-09-2007, 07:28 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