+ Reply to Thread
Results 1 to 4 of 4

IF Function for cells with similar text

  1. #1
    Registered User
    Join Date
    01-04-2014
    Location
    Toronto
    MS-Off Ver
    Excel 2007
    Posts
    15

    IF Function for cells with similar text

    I am trying to find a formula that will return values based on two cells containing similar text. I was using =IF(B1=B2,"Duplicate","") however this only highlights cells that are identical

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: IF Function for cells with similar text

    If you are not aware of it MATCH, VLOOKUP and the IF(S) family of functions accept wildcards.

    Does that help?
    Dave

  3. #3
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: IF Function for cells with similar text

    Hi,

    How about: =IF(ISNUMBER(SEARCH(B1,B2)),"Duplicate","")

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: IF Function for cells with similar text

    Define "similar"?

    Can you give some examples, please?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. need to delete cells that contain similar text
    By clammastak in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-08-2015, 07:00 PM
  2. Uncovering similar text in cells
    By titushanke in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2012, 06:36 AM
  3. Add cells with similar text
    By albardit18 in forum Excel General
    Replies: 2
    Last Post: 08-15-2011, 10:30 AM
  4. Is there a function similar to MAX for text?
    By d14nem in forum Excel General
    Replies: 3
    Last Post: 05-18-2011, 10:32 AM
  5. Replies: 3
    Last Post: 04-07-2011, 06:45 AM
  6. [SOLVED] Identifying cells with similar text
    By [email protected] in forum Excel General
    Replies: 2
    Last Post: 06-08-2006, 02:00 PM
  7. Need a function similar to sumif for text
    By jasm106 in forum Excel General
    Replies: 1
    Last Post: 04-21-2005, 10:36 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