+ Reply to Thread
Results 1 to 4 of 4

Excel Match + Capture partial text string

  1. #1
    Registered User
    Join Date
    09-23-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    63

    Excel Match + Capture partial text string

    Hi,

    I am trying to capture a partial text string from an Excel match.

    RawData tab = data source
    Calc tab = Where I am calculating the data. I am doing a vlookup with a match to find the specific cell but all I want to pull is Low, Medium, High text strings. Whereas today, each rating has a prefix text string. See column E for the desired outcome I am trying to achieve.

    Any help is greatly appreciated.

    Thank you
    Attached Files Attached Files

  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: Excel Match + Capture partial text string

    One way, in B2, copied across and down:

    =IFERROR(LOOKUP(1000,SEARCH({"High","Medium","Low"},VLOOKUP($A2,RawData!$A:$ZZ,MATCH(B$1,RawData!$2:$2,0),0)),{"High","Medium","Low"}),"")
    Attached Files Attached Files
    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
    Registered User
    Join Date
    09-23-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: Excel Match + Capture partial text string

    Awesome, that worked!

    What does the 1000 do or used for? I stretched it down beyond row 1000 and it seems to still work.

  4. #4
    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: Excel Match + Capture partial text string

    Well, nothing... sort of. It's an arbitrary large number...larger than the string length in any cell. When it finds any of the keyords... and doesn't find the 100th character, it gives up and returns the keyword.

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

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

+ 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] Index/Match combining with Search (partial text string)
    By iasinschi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2018, 05:08 PM
  2. Search and Match partial text string to full text and return a value
    By homa5424 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2017, 10:52 AM
  3. [SOLVED] Vlookup for partial text string match
    By mridul127 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-28-2016, 12:49 AM
  4. Match on partial text string
    By lmangino in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2014, 11:45 PM
  5. Formular To match partial text string
    By tantcu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2014, 04:19 PM
  6. [SOLVED] Find partial text string within another text string return original text into cell.
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-17-2013, 02:58 PM
  7. Index Match nesting w/ partial text string criteria
    By dohearn in forum Excel General
    Replies: 1
    Last Post: 10-25-2011, 03:42 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