+ Reply to Thread
Results 1 to 8 of 8

looking formula for Extract Specific WORDs in existing LONG Words

  1. #1
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    looking formula for Extract Specific WORDs in existing LONG Words

    Hello Sir we want formula for extrat 2 words filter from a long words which is in Colum C
    2 words (MP & MLC )
    if above two words in any name then Show these words in Colum H

    AGRAMLCOTHER
    AGRAMPOTHER
    AllahabadMPOTHER
    AllahabadMLCOTHER
    KanpurMLCOTHER
    KanpurMPOTHER

    Actually other words must add after MP or MLC


    pls suggest me formula or function
    Thanks

  2. #2
    Forum Contributor
    Join Date
    05-24-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    291

    Re: looking formula for Extract Specific WORDs in existing LONG Words

    Hi Santosh,

    use this

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click on * below if you find this helpful

    Thanks,
    A

  3. #3
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: looking formula for Extract Specific WORDs in existing LONG Words

    amy sir thanks for reply

    ur formula working but when we drag these formula to all database then forula sow MLC those record where no mp or mlc word exit... we want <blank> in that record..

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: looking formula for Extract Specific WORDs in existing LONG Words

    Try in H1 and copy down.

    =IFERROR(LOOKUP(2^15,SEARCH({"MLC","MP"};C1),{"MLC","MP"}),"")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: looking formula for Extract Specific WORDs in existing LONG Words

    Fortis Sir Thank for reply but sir when we copy ur formula in H1 Cell then a msg diloge box display

    "The formula you typed contains an error"

    sir is it an arrey formula???

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: looking formula for Extract Specific WORDs in existing LONG Words

    Perhaps you do something wrong. Take a look to the sample.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: looking formula for Extract Specific WORDs in existing LONG Words

    sir we look ur file in ur file forula define

    =_xlfn.IFERROR(LOOKUP(2^15,SEARCH({"MLC","MP"},C1),{"MLC","MP"}),"")

    =IF(ISERROR(LOOKUP(2^15,SEARCH({"MLC","MP"},C1),{"MLC","MP"})),"",LOOKUP(2^15,SEARCH({"MLC","MP"},C1),{"MLC","MP"}))


    first formal not working _xlfn dont know what is this??

    but 2nd formals working fine..

    Thanks a lot sir

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: looking formula for Extract Specific WORDs in existing LONG Words

    Santos.

    Apologize. I didn't noticed that you use Excel 2003. So IFERROR does not work for Excel2003. That's why you got the error..

+ 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. Extract rows to another sheet based on specific words + auto updates
    By scooter2012 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-13-2022, 09:17 PM
  2. [SOLVED] counting occurrence of specific words in another group of words
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2021, 07:33 PM
  3. How can i extract specific words from a cell?
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 06-17-2013, 12:27 PM
  4. How to search and extract specific words from an Excel worksheet ?
    By newbr33d in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-25-2008, 06:45 PM
  5. [SOLVED] Extract specific words from cells
    By Santa-D in forum Excel General
    Replies: 6
    Last Post: 06-18-2006, 11:10 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