+ Reply to Thread
Results 1 to 4 of 4

nested if function trying to find text and return text in different cell

  1. #1
    Registered User
    Join Date
    06-14-2013
    Location
    Fort Worth, TX
    MS-Off Ver
    Excel 2007
    Posts
    4

    nested if function trying to find text and return text in different cell

    Under the Keyword Column I am needing these 4 words (Spud, Log, Perf, Frac) returned if it finds them in the Report Column for the same row, if it doesn't find any of the words I just need it to be blank. I found this function =IF(ISNUMBER(SEARCH("perf",C7)),"Perfs","") that I got to work for the word Perf but when I tried to make it a nested funtion to look for the other 3 words it said it was too long. Is there anyway you can help? Hope this makes sense.
    ~Shelby
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: nested if function trying to find text and return text in different cell

    hi Shelby, welcome to the forum. something like this?
    =IFERROR(LOOKUP(2^15,SEARCH({"Spud","Log","Perf"," Frac"},C2),{"Spud","Log","Perf"," Frac"}),"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    06-14-2013
    Location
    Fort Worth, TX
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: nested if function trying to find text and return text in different cell

    Yes!!!! Thank you so much!!!

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: nested if function trying to find text and return text in different cell

    If you want each word displayed, then perhaps:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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