+ Reply to Thread
Results 1 to 8 of 8

Any two letters search mark true

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Any two letters search mark true

    ABFARAD TRUE
    DAGABAS TRUE
    BAHADAS TRUE
    BAJADAS TRUE
    LAMBADA TRUE
    BANDANA TRUE
    CADAGAS TRUE
    MACADAM


    I have this on a1 need formula on b1 to mark me true if it finds any two letters quoted as DLNTRS , those are the expected results , it wont mark the MACADAM

    I have this formula that find one letter search using else where

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Any two letters search mark true

    in C1
    =IF(SUMPRODUCT(--(ISNUMBER(SEARCH((MID("DLNTRS",ROW(INDIRECT("1:6")),1)),A1))))=2,TRUE,FALSE)
    and copy down the column
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Any two letters search mark true

    Thank you Special-K , working as exactly needed

  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Any two letters search mark true

    Looks to be working but it not mark these , not sure why ?

    ALBATAS
    ATABALS
    BALATAS

  5. #5
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Any two letters search mark true

    Does the formula need and amendment , since in here there are L and T and S , all on search , maybe it needs to understand when it finds any 2 or even any 3

  6. #6
    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,202

    Re: Any two letters search mark true

    Try

    =IF(SUMPRODUCT(--(ISNUMBER(SEARCH((MID("DLNTRS",ROW(INDIRECT("1:6")),1)),A9))))>=2,TRUE,FALSE)
    Last edited by JohnTopley; 02-13-2017 at 01:54 PM.

  7. #7
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Any two letters search mark true

    John works , with that small additional of greater sign

  8. #8
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Any two letters search mark true

    Thank you too

+ 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 letter specific and mark true
    By makinmomb in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-12-2017, 09:28 AM
  2. [SOLVED] Search CELL-A for one or two letters and display the found letters in CELL-B
    By adamtre in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2014, 02:43 AM
  3. Replies: 5
    Last Post: 12-30-2012, 10:59 AM
  4. Search and mark, same ranges ..
    By Fotis1991 in forum Excel General
    Replies: 10
    Last Post: 11-18-2011, 09:33 AM
  5. search for a criteria and mark
    By ybu1106 in forum Excel General
    Replies: 2
    Last Post: 01-11-2011, 12:29 PM
  6. Search and mark a series of strings
    By ybu1106 in forum Excel General
    Replies: 10
    Last Post: 01-10-2011, 03:34 PM
  7. [SOLVED] Search for 2 true arguments and return true or false
    By David in forum Excel General
    Replies: 3
    Last Post: 07-15-2006, 05:20 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