Results 1 to 7 of 7

Thread: Nested Search Function Excel Formula

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    21
    Rep Power
    0
    Thank you...however, see below:

    1) Formula used: =MID(SUBSTITUTE(SUBSTITUTE(O9,"_AcrobatPro","|")," _AcrobatFamily","|"),SEARCH("|",SUBSTITUTE(SUBSTIT UTE(O9,"_AcrobatPro","|"),"_AcrobatFamily","|"))+2 ,255)

    The formula worked for "AcrobatPro" but for "AcrobatFamily", it showed "crobatFamily...."
    Results:
    create-fillable-pdf-forms.html ad_us_AcrobatPro_create-fillable-pdf-forms.html
    crobatFamily_create-pdf-web-forms-builder.html ad_us_AcrobatFamily_create-pdf-web-forms-builder.html


    2) Formula used: =TRIM(MID(SUBSTITUTE(SUBSTITUTE(O9,"AcrobatFamily_ ","AcrobatPro_"),"AcrobatPro_",REPT(" ",200)),200,255))
    Formula with the "Trim" worked for AcrobatPro, but the results were blank for "AcrobatFamily".

    Results
    create-fillable-pdf-forms.html ad_us_AcrobatPro_create-fillable-pdf-forms.html
    ad_us_AcrobatFamily_create-pdf-web-forms-builder.html


    3) Formula used: =REPLACE(SUBSTITUTE(O9,"AcrobatFamily","AcrobatPro "),1,SEARCH("AcrobatPro",SUBSTITUTE(O9,"Acroba tFam ily","AcrobatPro"))+10,"")
    This is the only formula that worked and gave the correct output for both AcrobatFamily and AcrobatPro. THANK YOU!!!!!
    Last edited by trankim; 10-29-2012 at 07:09 AM.

  2. #2
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Quote Originally Posted by trankim View Post
    Thank you...however, see below:

    2) Formula used: =TRIM(MID(SUBSTITUTE(SUBSTITUTE(O9,"AcrobatFamily_ ","AcrobatPro_"),"AcrobatPro_",REPT(" ",200)),200,255))
    Formula with the "Trim" worked for AcrobatPro, but the results were blank for "AcrobatFamily".

    Results
    create-fillable-pdf-forms.html ad_us_AcrobatPro_create-fillable-pdf-forms.html
    ad_us_AcrobatFamily_create-pdf-web-forms-builder.html
    I think that's because I see there is a space after AcrobatFamily. Try without the space.
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

Similar Threads

  1. Use Native Excel Function Lookup Formula In VBA
    By ramananhrm in forum Excel Help
    Replies: 8
    Last Post: 05-03-2013, 09:10 AM
  2. Nested If Formula With Multiple Conditions
    By lprc in forum Excel Help
    Replies: 10
    Last Post: 04-22-2013, 07:27 PM
  3. Excel Nested IF Function With 3 Conditions
    By patsir in forum Excel Help
    Replies: 3
    Last Post: 08-25-2012, 07:15 PM
  4. VBA Function to Search in Array
    By Admin in forum Excel and VBA Tips and Tricks
    Replies: 0
    Last Post: 04-10-2012, 11:34 AM
  5. Excel Nested IF 3 Condition Formula
    By yomgi in forum Excel Help
    Replies: 2
    Last Post: 02-20-2012, 11:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •