+ Reply to Thread
Results 1 to 4 of 4

Return word in middle of text

  1. #1
    Registered User
    Join Date
    12-10-2018
    Location
    Morocco
    MS-Off Ver
    2013
    Posts
    5

    Return word in middle of text

    Hello!

    I have a list of text like:

    2018 1234 MIAU ABCD XPTO123 XXX
    2018 5687 MIAU AB XPTEXT TEXT TEXT
    2018 1278 MIAU AD TEXT 1234 TEXT 45678
    2018 00217 MIAU ABCDE TEXT 12345 1231 TEXT XPTO
    2018 78424 MIAU AD XPTO
    2018 78424 MIAU ABCDEF TEXT TEXT TEXT
    2018 78424 MIAU AD Limpa Suja Mata Mata


    I would like to know if there are any way to do with VBA to show only the first word after "MIAU"

    Thanks

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Return word in middle of text

    Try this formula
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Return word in middle of text

    If it must be VBA something like this ought to work too... how well it works depends on how good the sample of data is:

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  4. #4
    Registered User
    Join Date
    12-10-2018
    Location
    Morocco
    MS-Off Ver
    2013
    Posts
    5

    Re: Return word in middle of text

    Thanks for the help!

    Workds very good

+ 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. Return all text to the right of a point in a word
    By stephme55 in forum Excel General
    Replies: 3
    Last Post: 01-19-2017, 03:50 PM
  2. [SOLVED] Find word in text string and return word adjacent to the left
    By eadamquinn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-06-2014, 03:22 PM
  3. [SOLVED] Formula to get the middle word
    By krazyhype19 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-28-2014, 04:49 AM
  4. Need to find a word in text and return corresponding value
    By yafirst in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-04-2014, 11:52 AM
  5. [SOLVED] formula to pick out text in middle of string and return
    By Burt_100 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-24-2014, 05:32 PM
  6. Replies: 2
    Last Post: 08-05-2013, 04:45 PM
  7. Replies: 2
    Last Post: 03-17-2005, 11:06 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