+ Reply to Thread
Results 1 to 4 of 4

Searching word occurrence within a column (and reporting it)

  1. #1
    Registered User
    Join Date
    03-02-2010
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Searching word occurrence within a column (and reporting it)

    Hi All,

    Just found this forum thru Google and found it really useful.
    I'm hoping that you can help me with this problem I'm having in Excel 2003.

    I'm attaching the excel file that I'm doing in this post.

    How do I make it so that a function can check column A for any occurrence of any of the words listed in column E and reports it in column B respectively as true or false

    I have tried to use
    Please Login or Register  to view this content.
    This works fine with just one keyword, but I'm having difficulties using it to search several keywords as I can't use
    Please Login or Register  to view this content.
    in the formula above.

    Any help or pointer would be much appreciated.
    Thank you all in advance.
    Attached Files Attached Files
    Last edited by memel; 03-07-2010 at 08:34 AM.

  2. #2
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Searching word occurrence within a column (and reporting it)

    Hi,

    You can try in cell B2, and copy down ...
    =IF(OR(ISNUMBER(SEARCH("dinner",A2,1)),ISNUMBER(SEARCH("lunch",A2,1))),"Yes","No")
    HTH

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Searching word occurrence within a column (and reporting it)

    Quote Originally Posted by memel
    How do I make it so that a function can check column A for any occurrence of any of the words listed in column E and reports it in column B respectively as true or false
    Using your example file:

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    Last edited by DonkeyOte; 03-06-2010 at 04:43 AM.

  4. #4
    Registered User
    Join Date
    03-02-2010
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Thumbs up Re: Searching word occurrence within a column (and reporting it)

    Thank you, the formula works really well.

+ 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