+ Reply to Thread
Results 1 to 6 of 6

FIND Function: Possible to return True or False?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-04-2014
    Location
    USA
    MS-Off Ver
    Office 2016
    Posts
    72

    FIND Function: Possible to return True or False?

    Hello!

    I am using FIND to search for a specific letter in a small string which will be used to facilitate some conditional formatting. Is it possible to have FIND return a TRUE or FALSE rather than the character position in which said letter is in the string?

    For example, if I have the string "25.5%BE", FIND currently returns a 6 if I look for "B". I just need a TRUE or FALSE.

    Thank you!
    Last edited by McStagger; 03-29-2017 at 09:43 AM.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2021
    Posts
    5,973

    Re: FIND Function: Possible to return True or False?

    Try this ...

    =ISNUMBER(FIND("B","25.5%BE"))

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,503

    Re: FIND Function: Possible to return True or False?

    Try

    =ISNUMBER(SEARCH("B",A1))

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: FIND Function: Possible to return True or False?

    =IFERROR(FIND(7,M9)>0,FALSE) adjust references accordingly

  5. #5
    Registered User
    Join Date
    06-04-2014
    Location
    USA
    MS-Off Ver
    Office 2016
    Posts
    72

    Re: FIND Function: Possible to return True or False?

    Thanks guys!

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: FIND Function: Possible to return True or False?

    Here's another one...

    =COUNTIF(A1,"*B*")>0

    Note that this is not case sensitive.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. How to find a string in a row and return true or false
    By A2G in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-18-2015, 03:28 PM
  2. Replies: 6
    Last Post: 11-13-2014, 11:26 AM
  3. Function to search Column for a range of values and return TRUE or FALSE
    By BamBamMoneyBags in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-05-2013, 05:59 AM
  4. Excel Macro : Function that will return true or false if a value exist in a column
    By student1976 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-02-2011, 09:39 AM
  5. Replies: 1
    Last Post: 08-20-2011, 06:51 AM
  6. VBA Find. return True/ False
    By WAW in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2010, 06:52 AM
  7. Function to return True/False if all are validated as True by ISNU
    By Tetsuya Oguma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2006, 06:30 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