+ Reply to Thread
Results 1 to 4 of 4

search any of some words in a cell

  1. #1
    Registered User
    Join Date
    08-05-2013
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1

    Angry search any of some words in a cell

    hello everybody!
    this problem is almost driving me crazy! it took all my day and i couldn't solve it!

    i have a column made of 2160 cells. in each of these cells, there are many animals diseases names, i.e.: "Erlichiosis, Pyometra, and Leishmaniosis". and i have a list of diseases to search for in this column: "Erlichiosis", "Babesiosis", "Haemobartonelosis", and others.
    all i want is a formula that return true if ANY of the words from the list is found in the current cell, and false otherwise.

    i tried many functions, like IF, OR, AND, NOT, FIND, SEARCH, but to no avail...

    any suggestion is welcome. thanks in advance!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: search any of some words in a cell

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

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

    View Pic
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: search any of some words in a cell

    If A column contains list and search word is "Erlichiosis", below formula Gives TRUE , if it contains word else FALSE.

    =COUNTIF(A1:A2160,"Erlichiosis")>0

  4. #4
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    Re: search any of some words in a cell

    Have you considered using a Macro for this? I'm sure there are ways to display all the results in another sheet.
    This macro searches a number fo columns but doesn't find non exact criteria, but I'm sure some gentry on here would tweak it for you!

    Please Login or Register  to view this content.

+ 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. Replies: 3
    Last Post: 08-14-2013, 10:38 AM
  2. Replies: 1
    Last Post: 04-04-2012, 07:15 PM
  3. search for keywords within many words in a cell
    By dan2010 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-22-2010, 07:44 AM
  4. complex search for words within a cell
    By dangey in forum Excel General
    Replies: 8
    Last Post: 03-23-2010, 09:10 AM
  5. Search using the words in a cell
    By jj33002 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2006, 03:49 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