+ Reply to Thread
Results 1 to 4 of 4

Text search

  1. #1
    Registered User
    Join Date
    10-01-2018
    Location
    Ottawa
    MS-Off Ver
    Office 365
    Posts
    57

    Unhappy Text search

    Last year, I used a handy equation that allowed me to search rows of text strings for a variety of words i.e. university, université, college, collège... and then return a text value.
    =IF(SUMPRODUCT(--ISNUMBER(SEARCH(Université,$S2))),"Université","").

    I had a variant where I used a search range, which allowed me more flexibility. Do you think I can replicate this no!!! Sometimes it can be infuriating to work with Excel.

    Any thoughts?

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Text search

    Firstly your formula is over complicated.

    Try =IF(ISNUMBER(SEARCH("Université",S2)),"Université","")
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Text search

    Firstly your formula is over complicated.

    Try =IF(ISNUMBER(SEARCH("Université",S2)),"Université","")

    This also works

    =IF(ISNUMBER(SEARCH("Université",S1:S5)),"Université","")

  4. #4
    Registered User
    Join Date
    10-01-2018
    Location
    Ottawa
    MS-Off Ver
    Office 365
    Posts
    57

    Re: Text search

    Super. Yes your formula is much cleaner. Thank you very much.

+ 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: 2
    Last Post: 10-02-2016, 04:18 PM
  2. [SOLVED] Code to search Excel and return results even if part of search text is present
    By Taoyuan00 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2016, 09:20 AM
  3. VBA Code - Search text & search number & search qty and result - Urgent Please
    By naresh73 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2014, 10:51 AM
  4. IF(count(search) Function not working when search from text from a cell
    By joshnathan in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-09-2013, 05:13 AM
  5. Truncate text strings using LEFT and FIND/SEARCH for multiple search terms
    By ngdoherty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2013, 07:51 PM
  6. [SOLVED] search for text, then search for previous text, replace 1st text including number from 2nd
    By kldailey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2012, 05:23 PM
  7. [SOLVED] search for text in colB, starting with next row search for 1st occurrence of specific #
    By roothog in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-24-2012, 10:39 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