+ Reply to Thread
Results 1 to 7 of 7

Find exact string in a range of cells

  1. #1
    Registered User
    Join Date
    10-17-2013
    Location
    Lehi, Urtah
    MS-Off Ver
    Excel 2007
    Posts
    4

    Find exact string in a range of cells

    Hello All..

    I have an excel report that gives me a "Reason" in one of the cells. However the reason has some information at the end of the string.

    Example in Cell: UNDELIVERED - Ran Out Of Time (Ran Out Of Time) on 18:34 EST12/02/2020

    What I need to do is find all the "UNDELIVERED - Ran Out Of Time" in a certain range, but not the rest of the wording in the string.

    Is there a was way to do a vlookup (or anything else) that will find an exact match of words in a string and then give me the result.

    Hopefully this make sense.

    Thanks in advance

    ChadnVegas

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Find exact string in a range of cells

    And what is your expected result? Easier if you read the yellow banner (top of page) and post a small sample showing what you have and what you want.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  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,728

    Re: Find exact string in a range of cells

    Both VLOOKUP and MATCH (as part of an INDEX/MATCH combination), as well as COUNTIF etc., can use wildcard characters. I'm not sure what you are trying to do, though, when you say that you want to "find" all the cells which contain that text.

    Perhaps you should attach a sample workbook and show in there (manually) what you want to achieve. The yellow banner at the top of the screen gives details on how to do this.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    10-17-2013
    Location
    Lehi, Urtah
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Find exact string in a range of cells

    I tried to attach an example..

    Column C is the information I receive from the report

    Column F is the string I am looking for

    Column G is the result.

    This is on a VLOOKUP formula. There may be an easier way..
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Find exact string in a range of cells

    ?? In D2:

    =IFERROR(LOOKUP(1000,SEARCH($F$2:$F$8,C2),$G$2:$G$8),"")
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-17-2013
    Location
    Lehi, Urtah
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Find exact string in a range of cells

    Perfect Glenn..

    Thank you sooo much..

    You guys are amazing!

    Chad

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Find exact string in a range of cells

    LoL. No... just done that before!!

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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] Find exact partial string in range
    By sh1msh0n in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-01-2017, 10:25 AM
  2. need formula or vba to find exact string through list and find exact correct string
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-04-2016, 04:12 AM
  3. [SOLVED] Need formula to find exact string from list of agency
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2016, 09:26 AM
  4. [SOLVED] Challenge to find exact text string match
    By bentod in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2014, 12:01 PM
  5. [SOLVED] Find and replace with exact string
    By carrie.cllek in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-27-2013, 04:02 PM
  6. Find an exact word within a text string
    By juanmimr in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-08-2013, 10:30 AM
  7. FIND the exact P/N in a multi P/N range of cells
    By Benjamin1 in forum Excel General
    Replies: 12
    Last Post: 08-21-2011, 12:49 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