+ Reply to Thread
Results 1 to 2 of 2

ISNUMBER SEARCH with IF AND

  1. #1
    Registered User
    Join Date
    08-16-2016
    Location
    Cape Town, South Africa
    MS-Off Ver
    2013
    Posts
    9

    ISNUMBER SEARCH with IF AND

    Hi All.

    I have scanned several excel sites and for some reason cannot find an answer to my query. For some reason I always get array formulas thrown at me, which I have used once before but seem hard to apply in this case.

    (I am using ISNUMBER SEARCH as I am trying to search for part text matches. However, there are generally TWO columns that need to have part text matches. I am steering away from array formulas as 1. the two columns vary wildly and and will do so also in each IF formula I create, and 2. the two columns can be on different spreadsheets. In the example though, in order to simplify I list them as if they are on the same sheet as both each other and the column I have the formula in. I don't have problems with a single ISNUMBER SEARCH formula, but for some reason am struggling to link them together.)

    What I am trying to say in the below formula is: IF cell O2 includes somewhere in it the text "CVSDGS" AND cell A2 contains somewhere in it the text "Apple" then return the value "1 year", otherwise return BLANK. I tried the *AND to link them as it was suggested by excel to complete the formula (instead of just AND). While the formula doesn't return an error, it unfortunately returns BLANK for all values, both TRUE and FALSE.

    =IF(ISNUMBER(SEARCH(O2,"*CVSDGS*"))*AND(ISNUMBER(SEARCH(B2,"Apple*"))),"1 year","")

    Please HELP!!

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

    Re: ISNUMBER SEARCH with IF AND

    Here's one way...

    =IF(COUNTIF(B2,"*Apple*")+COUNTIF(O2,"*CVSDGS*")=2,"1 year","")
    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. IsNumber Search
    By JamesArmitage in forum Excel General
    Replies: 5
    Last Post: 05-10-2016, 08:28 AM
  2. [SOLVED] Help with =IF(ISNUMBER(SEARCH
    By micahd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-03-2016, 01:54 PM
  3. [SOLVED] ISNUMBER and SEARCH
    By jwkathol in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-15-2016, 10:07 PM
  4. [SOLVED] if isnumber search problem
    By rookie284 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-18-2014, 11:32 AM
  5. Need help with isnumber(search) Formula
    By lpretor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-15-2013, 08:14 PM
  6. If, or, isnumber, search
    By reb2u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2012, 10:53 AM
  7. Isnumber(search
    By AVIDDA in forum Excel General
    Replies: 1
    Last Post: 01-14-2011, 02:45 PM

Tags for this Thread

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