+ Reply to Thread
Results 1 to 6 of 6

Finding Partial Text and same number

  1. #1
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Finding Partial Text and same number

    Hi All,

    Please see attached spreadsheet.

    Ignore T113.xlsx

    There are three columns. Employee Number, Course Name (replaced with a number) and Comment Column.

    If a an Employee has T114 i would like to comment next to their T113 with "Ignore".

    Note: I highlighted a couple situations where the "Ignore" will come up. Also, the T114 and T113 are partial text as there will be other comments inside the course name column.

    Thanks for the help!

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,207

    Re: Finding Partial Text and same number

    Try .... in column D

    =IF(AND(SUMPRODUCT(--($B$3:$B$48=B3),--(ISNUMBER(SEARCH("(T113)",$C$3:$C$48))))<>0,SUMPRODUCT(--($B$3:$B$48=B3),--(ISNUMBER(SEARCH("(T114)",$C$3:$C$48))))<>0,ISNUMBER(SEARCH("(T113)",C3))),"IGNORE","")

    and copy down

  3. #3
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Finding Partial Text and same number

    Quote Originally Posted by JohnTopley View Post
    Try .... in column D

    =IF(AND(SUMPRODUCT(--($B$3:$B$48=B3),--(ISNUMBER(SEARCH("(T113)",$C$3:$C$48))))<>0,SUMPRODUCT(--($B$3:$B$48=B3),--(ISNUMBER(SEARCH("(T114)",$C$3:$C$48))))<>0,ISNUMBER(SEARCH("(T113)",C3))),"IGNORE","")

    and copy down
    Works Perfectly!

    Thanks!

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Finding Partial Text and same number

    The same thing just a bit shorter

    =IF(AND(SUMPRODUCT(--($B$3:$B$48=B3),--ISNUMBER(SEARCH("(T114)",$C$3:$C$48)))<>0,ISNUMBER(SEARCH("(T113)",C3))),"IGNORE","")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,207

    Re: Finding Partial Text and same number

    @AltKey: I realised myself I had redundancy in my solution with the duplicate test for "(T113)". Must not work late at night!

  6. #6
    Registered User
    Join Date
    08-22-2015
    Location
    Dhaka
    MS-Off Ver
    office 8
    Posts
    33

    Re: Finding Partial Text and same number

    Dear Guru's, I have made this one- thats works the same. Why not this one?? (I am new in excel)

    =IF(ISNUMBER(SEARCH("(T114)",C33)),"Ignore","")

+ 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. finding partial text in an index match formula
    By garyaw in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 09-30-2015, 04:27 PM
  2. Replies: 11
    Last Post: 02-04-2015, 01:34 PM
  3. [SOLVED] Finding partial text matches compared to a range
    By grifta67 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-17-2014, 04:38 PM
  4. [SOLVED] Find the row number with a partial match to text in column A
    By zookeepertx in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-10-2014, 01:39 PM
  5. [SOLVED] finding partial text ,In the case of more than one match
    By fartdog01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2014, 09:20 AM
  6. [SOLVED] finding a partial series of numbers within a number
    By bzl in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-05-2014, 06:23 AM
  7. Replies: 16
    Last Post: 04-20-2010, 01:27 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