+ Reply to Thread
Results 1 to 10 of 10

check for specific word and give result

  1. #1
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    check for specific word and give result

    I have a workbook with two sheets Data and URM

    In sheet "URM" in column F ("URM") I have details of URM

    In sheet "Data" in Column "E"(Remarks) I have sentences.

    I wants to check that whether any of the sentences in "E" in Sheet "Data" contains the URM from the sheet "URM"
    Some senetence in Remaks might contains more than one URM. In that case extract all the URM and separate with "^". Example given in attachment marked in green colour
    URM might me part of sentence in Remakrs column delimited by space and other symbol or without space also.

    So have to look for exactly as in URM column


    If URM found in next Column(Column"F") in sheet "Data" show the same URM. if not found shouw result as "NO URM"
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: check for specific word and give result

    ................
    Last edited by protonLeah; 11-23-2015 at 02:04 AM.
    Ben Van Johnson

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: check for specific word and give result

    saravanan1981

    What happened to this

    http://www.excelforum.com/excel-prog...our-parts.html

    For this one.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by jindon; 11-23-2015 at 01:49 AM. Reason: File attached

  4. #4
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: check for specific word and give result

    hi Jindon,

    sorry for the delay in responding. thank you for your code.

    Please find the attachment, it shows some error. Please refer cell F5. fg is matching in Sheet URM and also cell E5 contains the same. But still code shows some error.

    please help
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: check for specific word and give result

    You should respond to the link first.
    Attached Files Attached Files
    Last edited by jindon; 11-26-2015 at 11:09 PM.

  6. #6
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: check for specific word and give result

    It works perfectly. But I am not able to view the code. Can you give me a code please?

  7. #7
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: check for specific word and give result

    also need one more addition in this code. please refer highlighted points below and refer attachment

    I have a workbook with two sheets Data and UTR

    In sheet "UTR" in column F ("UTR") I have details of UTR

    In sheet "Data" in Column "E"(Remarks) I have sentences.

    I wants to check that whether any of the sentences in "E" in Sheet "Data" contains the UTR from the sheet "UTR"
    Some sentence in Remarks might contains more than one UTR. In that case extract all the UTR and separate with "^". Example given in attachment marked in green colour
    UTR might me part of sentence in Remarks column delimited by space and other symbol or without space also.

    So have to look for exactly as in UTR column


    If UTR found in next Column (Column"F") in sheet "Data" show the same UTR. if not found show result as "NO UTR"

    Also in some cases single Cell might contain more than one UTR. In that case pull all the UTR and separate with “^”

    Cell e-42 contains 3 utr in same cell. Hence in F 42 all three UTR has been extracted
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: check for specific word and give result

    Quote Originally Posted by jindon View Post
    You should respond to the link first.
    http://www.excelforum.com/excel-prog...our-parts.html
    Last edited by jindon; 12-02-2015 at 01:13 AM.

  9. #9
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: check for specific word and give result

    this link is not opening

  10. #10
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: check for specific word and give result

    hi can you please provide code for below thread.
    http://www.excelforum.com/excel-prog...ml#post4285701

+ 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] a forumla to check sum of letters and give a result and change cell colour?
    By Delinquent in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 11-18-2015, 09:26 AM
  2. VBA to lookup for a specific value and give result
    By winmaxservices in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-13-2015, 04:29 AM
  3. Check if a corresponding column value is a specific word?
    By toni92 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-23-2015, 08:50 AM
  4. [SOLVED] Check space before and after specific word
    By makinmomb in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 05-03-2015, 12:43 PM
  5. Check a webpage for specific text and highlight a cell based on result
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2013, 09:56 AM
  6. check multiple columns data & give result
    By bilal_id in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2013, 09:08 AM
  7. if result contains specific word
    By Prcntrygrl in forum Excel General
    Replies: 2
    Last Post: 01-11-2011, 05:47 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