+ Reply to Thread
Results 1 to 7 of 7

=if(isnumber(search( for multiple cells

  1. #1
    Registered User
    Join Date
    08-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    =if(isnumber(search( for multiple cells

    I have seen many questions and answers similar to this, but can't seem to make it work for my particular situation. I need a formula (Not and Array) that will search through column B for specific terms and indicate those in columns C, D & E. I have attached an example of what I am trying to accomplish:
    example.JPG

    This is a very basic representation. I actually have about 30 different products in many combinations. The only outliers are the two terms in parentheses which can appear with any product. I figure the best way to go about this would be to first identify all of the cells without either of these terms and go from there. Any help would be appreciated. Thanks.
    Last edited by etaussig; 08-17-2016 at 02:02 PM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: =if(isnumber(search( for multiple cells

    Please attach your sample as a workbook by clicking the 'Go Advanced' button in the bottom right corner of the reply box, then scrolling down and clicking the 'Manage Attachments' link.

    People will be reluctant to help you if they have to retype your data from an image before starting to work on a solution.

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: =if(isnumber(search( for multiple cells

    This will get you a start on what to look for.
    Place this in C2, and drag down, adjust for the other columns
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Ultimately, if you create a chart and then us vlookup to search for the parameters, the formulas would not get to complicated.

  4. #4
    Registered User
    Join Date
    08-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: =if(isnumber(search( for multiple cells

    With attachment
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: =if(isnumber(search( for multiple cells

    Try this in C2, filled right and down.

    =IF(ISNUMBER(SEARCH(C$1,$B2)),IFERROR(LOOKUP(2,1/((SEARCH($A$13:$A$14,$B2,SEARCH(C$1,$B2))-(SEARCH(C$1,$B2)+LEN(C$1)))=2),$B$13:$B$14),"X"),"")

    You might run into problems with partial product names, for example, Apple will incorrectly return a match for Pineapple.

    There are ways to fix that if needed.

    edit:-

    Formula with a fix for the Apple / Pineapple problem, if needed.

    =IF(ISNUMBER(SEARCH(" "&C$1&" "," "&SUBSTITUTE($B2,";"," ")&" ")),IFERROR(LOOKUP(2,1/((SEARCH($A$13:$A$14,$B2,SEARCH(" "&C$1&" "," "&SUBSTITUTE($B2,";"," ")&" "))-(SEARCH(" "&C$1&" "," "&SUBSTITUTE($B2,";"," ")&" ")+LEN(C$1)))=2),$B$13:$B$14),"X"),"")
    Last edited by jason.b75; 08-17-2016 at 02:46 PM.

  6. #6
    Registered User
    Join Date
    08-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: =if(isnumber(search( for multiple cells

    That's amazing. Thanks so much!

  7. #7
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: =if(isnumber(search( for multiple cells

    You're welcome!

    I'll keep the thread subscribed so if you run into any issues implementing it into your full data set, feel free to pop back and ask for any additional help you need.

+ 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. IF(ISNUMBER(SEARCH Multiple Conditions
    By Shop4Yoo in forum Excel General
    Replies: 12
    Last Post: 07-22-2016, 09:45 AM
  2. [SOLVED] multiple ISNUMBER search
    By frustrated in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-08-2016, 10:09 AM
  3. Multiple IF ISNUMBER SEARCH
    By kalivc in forum Excel General
    Replies: 0
    Last Post: 01-21-2015, 08:23 PM
  4. [SOLVED] Multiple IF(ISNUMBER(SEARCH...), need sum
    By Imtall62 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-12-2014, 11:41 AM
  5. Replies: 14
    Last Post: 06-17-2013, 09:43 AM
  6. Help with multiple If(Isnumber(Search( function
    By khk410 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2013, 09:07 AM
  7. Multiple IF ISNUMBER SEARCH
    By bibach in forum Excel General
    Replies: 5
    Last Post: 07-13-2011, 04:41 AM

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