+ Reply to Thread
Results 1 to 5 of 5

Formula to do searching TEXT

  1. #1
    Registered User
    Join Date
    02-02-2018
    Location
    fremont,ca
    MS-Off Ver
    2016
    Posts
    34

    Formula to do searching TEXT

    Hi

    I may have simple question,
    I have a column ( column A)to search "flavor", if I find the work "flavor", then in column B ( new column), I will type YES, if not ,I will type NO

    the following seems not working, know why?

    =IF(ISTEXT(SEARCH("Flavor",F1)),"YES","NO")

    Thanks
    James
    Last edited by tao94539; 04-10-2019 at 04:42 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: search

    =IF(ISNUMBER(SEARCH("Flavor",F1)),"YES","NO")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-02-2018
    Location
    fremont,ca
    MS-Off Ver
    2016
    Posts
    34

    Formula to do searching TEXT

    Thanks, its working, 1 questions

    #1, why can't I use ISTEXT?
    #2, how to do wildcard? can I do =IF(ISNUMBER(SEARCH("*Flavor*",F1)),"YES","NO") in order to search "Flavored"?
    Last edited by tao94539; 04-10-2019 at 04:46 PM.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: search

    1. What does SEARCH return? What does ISTEXT do?

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2405
    Posts
    13,424

    Re: search

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Dave

+ 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] Search multiple worksheets for search term and paste results in a summary sheet
    By Andy15 in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 04-03-2017, 01:49 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. Replies: 4
    Last Post: 12-02-2014, 05:17 PM
  4. Replies: 4
    Last Post: 11-08-2014, 04:57 AM
  5. 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
  6. 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
  7. Replies: 1
    Last Post: 10-18-2012, 05:52 AM

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