+ Reply to Thread
Results 1 to 3 of 3

Help with formula- need to update to search for certain word within text string

  1. #1
    Registered User
    Join Date
    05-27-2013
    Location
    Brisbane
    MS-Off Ver
    Excel 2007
    Posts
    2

    Help with formula- need to update to search for certain word within text string

    Hi,

    I have a formula currently:

    {=INDEX(Sheet2!$G$2:$G$8,MATCH($D$1&A2,Sheet2!$F$2:$F$8&Sheet2!$H$2:$H$8,0))}

    however I need to update it as currently in D1 there is a description and then it searches for that exact description in Sheet 2 F, however I now have a scenario whereby the descripions are not exactly the same however they all contain the same word Post. So if I have the word post in D1 and need to somehow search for it in F within a sentence and then pick up the values.

    Is there anyway this can be done?

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

    Re: Help with formula- need to update to search for certain word within text string

    hi blue.2025, welcome to the forum. you can try:
    =INDEX(Sheet2!$G$2:$G$8,MATCH("*"&$D$1&"*"&A2,Sheet2!$F$2:$F$8&Sheet2!$H$2:$H$8,0))

    but it's always better you attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    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
    05-27-2013
    Location
    Brisbane
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Help with formula- need to update to search for certain word within text string

    Thanks that works - just come across a case whereby there are several rows with the word post for the same number and the formula only picks up the first one, is there a way to pick up all the items?post sample.xlsx

    Hopefully the attachment worked!

+ 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