+ Reply to Thread
Results 1 to 5 of 5

Function to extract specific word from alphanumeric string

  1. #1
    Forum Contributor
    Join Date
    06-24-2012
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    302

    Function to extract specific word from alphanumeric string

    Hi Experts,

    I have data that runs in columns as:

    SYD MH X/KUL MH DEL213.49/-BOM MH X/KUL MH SYD213.49NUC426.98
    SYD MH X/KUL MH DEL213.49/-BOM MH X/KUL MH SYD213.49NUC426.98
    SYD MH KUL MH BOM213.49MH X/KUL MH SYD213.49NUC426.98
    SYD MH KUL MH BOM213.49MH X/KUL MH SYD213.49NUC426.98
    SYD MH KUL MH BOM160.11MH X/KUL MH SYD160.11NUC320.22
    MEL MH X/KUL MH BOM252.31MH KUL MH MEL252.31NUC504.62

    Looking for simple function to extract only "BOM" three letter word.
    Extract word will not exceed 3 letters and target word in each cell will be somewhere but three letters only

    Thanks in advance,
    Karnik

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Function to extract specific word from alphanumeric string

    As much I could understand,If data is in A1 cell then B1=IF(ISNUMBER(SEARCH("BOM",A1)),"BOM")

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Contributor
    Join Date
    06-24-2012
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    302

    Re: Function to extract specific word from alphanumeric string

    Hi Ankur,
    Thanks for the solution, it works excellently
    Cheers
    Karnik

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Function to extract specific word from alphanumeric string

    Glad to help you and thanks for feedback.

  5. #5
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: Function to extract specific word from alphanumeric string

    In B1 = <=IF(COUNTIF(A1,"*BOM*")>0,"BOM","")> this also can do

+ 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] EXtract ALphanumeric from text string
    By Ellice16 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-30-2013, 03:34 AM
  2. Extract Alphanumeric string from a cell
    By kenny.fsw in forum Excel General
    Replies: 1
    Last Post: 06-12-2012, 04:36 AM
  3. Extract word from alphanumeric string
    By sam sam in forum Excel General
    Replies: 4
    Last Post: 04-25-2012, 09:07 AM
  4. How do I extract a number from an alphanumeric string?
    By paulh09 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-16-2012, 09:44 AM
  5. Extract specific word from a text string
    By krjoshi in forum Excel General
    Replies: 10
    Last Post: 01-19-2012, 02:00 PM
  6. Extract String After Specific Word
    By Gingeiko in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-03-2011, 09:05 AM
  7. Extract number from alphanumeric string
    By shiner99 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-16-2008, 03:30 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