+ Reply to Thread
Results 1 to 6 of 6

Duplicate Checking within One Cell

  1. #1
    Registered User
    Join Date
    07-29-2014
    Location
    New York
    MS-Off Ver
    2007
    Posts
    33

    Duplicate Checking within One Cell

    Hi,

    Newbie here! Thanks for your help. I want to check a column of cells. Within each cell, A1 or any other cell, I would like to check for the text string "inclu" which will let me know if the words included, includes, including or include are duplicated within the one cell. I would then like the result to appear to the right of that column so that I know which cells I need to check.

    Can you help with this?

    Thank you,
    Newbie

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Duplicate Checking within One Cell

    Type this in B1 to check cell A1:
    =LEN(A1)-LEN(SUBSTITUTE(A1,"includ",""))>=12
    gives "TRUE" if it is duplicated.
    Drag down
    Quang PT

  3. #3
    Registered User
    Join Date
    07-29-2014
    Location
    New York
    MS-Off Ver
    2007
    Posts
    33

    Re: Duplicate Checking within One Cell

    You are perfection. Thank you so much for your help!

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Duplicate Checking within One Cell

    Nice to hear it works. Pls mark it "SOLVED".

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Duplicate Checking within One Cell

    counts the number of repeated occurences

    =(LEN(A1)-LEN(UPPER(SUBSTITUTE(A1,"inclu",9))))/(LEN("inclu")-1)
    Click just below left if it helps, Boo?ath?

  6. #6
    Registered User
    Join Date
    07-29-2014
    Location
    New York
    MS-Off Ver
    2007
    Posts
    33

    Re: Duplicate Checking within One Cell

    Nice, thanks for adding that, too.

+ 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. Duplicate checking
    By JoshJ in forum Excel General
    Replies: 3
    Last Post: 12-09-2013, 06:46 PM
  2. [SOLVED] Checking duplicate codes
    By [email protected] in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-26-2013, 01:48 AM
  3. [SOLVED] Duplicate Checking
    By chris.slater in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-31-2013, 02:28 PM
  4. Checking Cell for Duplicate Data, Same Row, Different Columns
    By aallen5642 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-21-2011, 05:18 PM
  5. Duplicate Checking
    By niladri20005 in forum Excel General
    Replies: 1
    Last Post: 07-15-2011, 02:48 PM

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