+ Reply to Thread
Results 1 to 3 of 3

Using FIND with multiple criteria

  1. #1
    Registered User
    Join Date
    10-04-2012
    Location
    Not here, it's rubbish!
    MS-Off Ver
    Excel 2003/2007/2010
    Posts
    66

    Using FIND with multiple criteria

    Hi All,

    I have a problem using FIND to search for multiple strings in a cell.

    For example, cell A1 contains a person’s name including their title (i.e. Mr, Miss, Ms, Mrs, Dr).

    In Cell B1 I want to return a zero if no match is found and a 1 if it is. This works fine for one criteria, e.g. finding the word “Mr” with the following formula

    =IF(ISERROR(FIND("Mr",A1,1))=TRUE,0,1)

    However, I can’t work out how to amend the formula to find “Mr”, “Miss”, “Ms”, “Mrs” or “Dr” in cell A1 and return a 1 if found or a zero if not found.

    It may be that the FIND function is not the most appropriate method. Can anyone point me in the right direction please?

    Many thanks.

  2. #2
    Forum Contributor
    Join Date
    01-14-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    240

    Re: Using FIND with multiple criteria

    This assumes the title is at the very left of the text string

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please consider adding a * if I helped.

  3. #3
    Registered User
    Join Date
    10-04-2012
    Location
    Not here, it's rubbish!
    MS-Off Ver
    Excel 2003/2007/2010
    Posts
    66

    Re: Using FIND with multiple criteria

    Thanks Brendan,

    Works a treat. I never of thought of using OR

+ 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. Find multiple values with multiple criteria in vba macro
    By Jovillanueva in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 10-02-2014, 09:46 PM
  2. [SOLVED] Find multiple criteria
    By Jack7774 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2014, 05:13 PM
  3. Replies: 2
    Last Post: 05-10-2012, 10:38 AM
  4. find value multiple criteria
    By herukuncahyono in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2011, 01:29 AM
  5. Using multiple criteria, find value
    By Shocked in forum Excel General
    Replies: 2
    Last Post: 11-06-2009, 01:17 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