+ Reply to Thread
Results 1 to 6 of 6

Multiple IF ISNUMBER SEARCH

  1. #1
    Registered User
    Join Date
    07-07-2011
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    2

    Multiple IF ISNUMBER SEARCH

    Hello, i am posting first time, so i hope i am doing it correctly in the right forum. I found one thread about multiple IF IS NUMBER SEARCH problem but it didnt solve my problem, thats why i am posting this

    I have a three columns A, B and C
    in a column A is text, it can be three different words like "high" or "low" or "centre"
    in a column B is a text too, it can be three different words too like "under" or "above" or "cross"
    In a column C is a number

    I want to use multiple IF ISNUMBER SEARCH formula but i dont know how to do it.

    I want excel to check column A if it contains text "high" and check column B if it contains text "under" and then return value from the column C into the column D (shortly if A and B matching my criteria excel returns C into D. And D is a result column for my criteria. I may have more criteria colums like this, in this case i will have 9 colums (because three different words in A x three different words in B = 9 combinations of words, thats for explanation only)

    I know how to do it with excel checking columns A without column B
    Here is an example:

    D1=IF(ISNUMBER(SEARCH("high",A1)),C1,"")

    but i dont know how to do it with multiple cells ( A and B in this case)

    The reason i want to use function IF ISNUMBER SEARCH is that, that columns A and B may contain more than just a word " high","low" or "centre" and i want excel to search within the text in these columns. Thats why i can not use formula D =IF(AND(A="high",B="under"),C,"")

    Any ideas how to combine IF ISNUMBER SEARCH formula , let me know please

    p.s., sorry for my english, i am not a native speaker, just learning

    Thank you
    Last edited by bibach; 07-07-2011 at 02:09 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Multiple IF ISNUMBER SEARCH

    You already know the solution is an AND() construct, one test for each cell.

    =IF(AND(ISNUMBER(SEARCH("high",A1)), ISNUMBER(SEARCH("under",B1))), C1, "")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-07-2011
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Multiple IF ISNUMBER SEARCH

    Thank you, it worked, perfect, you great!!!!
    I will tag this as solved. I was thinking about AND fuction but i couldnt figure it out how or where to put it. Thank You again.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Multiple IF ISNUMBER SEARCH

    Another way would be to use COUNTIF with wildcards, e.g.

    =IF(COUNTIF(A1,"*high*")*COUNTIF(B1,"*under*"),C1,"")
    Audere est facere

  5. #5
    Registered User
    Join Date
    07-13-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Multiple IF ISNUMBER SEARCH

    sir.. in excel 2003.. it is limited and could do only 6 formulae.,is there any other way to filter/search 10-20 texts? example "high, "low|, "cold", "heat", "small", "medium","big"

  6. #6
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Multiple IF ISNUMBER SEARCH

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.
    Remember what the dormouse said
    Feed your head

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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