+ Reply to Thread
Results 1 to 3 of 3

Other was to do more then 6 searches in one formula

  1. #1
    Registered User
    Join Date
    02-25-2014
    Location
    Brisbane
    MS-Off Ver
    Excel 2000
    Posts
    78

    Question Other was to do more then 6 searches in one formula

    I need a formula that will try and find part of text in a designated cell and then return a reult base on what it finds.

    I have it working at the moment with 6 searches but need to add more?

    Here is the formula i have atm

    =IF(ISNUMBER(SEARCH("DG",F146)),"DGREY",IF(ISNUMBER(SEARCH("OP",F146)),"OPAL",IF(ISNUMBER(SEARCH("TO",F146)),"TOFFEE",IF(ISNUMBER(SEARCH("LG",F146)),"LGREY",IF(ISNUMBER(SEARCH("BRO",F146)),"BRONZE",IF(ISNUMBER(SEARCH("CL",F146)),"CLEAR"))))))

    But once i go to add another search it won't allow it as excel has a limmit on searches in one formula.
    This will also be adopted in other instances for eg.

    it looks in the cell that as "SHPC-75G1.8OPAL" from that as above i want it to find part of the text and return a reult in a diferent cell. so for this eg with the above code it will see "OP" and return "OPAL" in the other cell. if i can get this too work i can then adapt it to look at this code and pull all the information out of it. "SHPC-75G1.8OPAL" - 75 meand it is .75 so it will return .75 in another cell, G is the profile and it will reurn Greca in a different cell, then the numbers 1.8 will return 1800 in another cell. that is how i will adapt this code but need a way to not use VLOOK up because there are too many codes to start a data base to do this.

    So if you are able to help me it would be greatly appreciated
    Last edited by Shannon561; 04-02-2014 at 07:48 PM.

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

    Re: Other was to do more then 6 searches in one formula

    Try this version, which you can extend as required

    =LOOKUP(2^15,SEARCH({"DG","OP","TO","LG","BRO","CL"},F146),{"DGREY","OPAL","TOFFEE","LGREY","BRONZE","CLEAR"})
    Audere est facere

  3. #3
    Registered User
    Join Date
    02-25-2014
    Location
    Brisbane
    MS-Off Ver
    Excel 2000
    Posts
    78

    Thumbs up Re: Other was to do more then 6 searches in one formula

    Thank you this has worked perfectly. problem solved!!!!

+ 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] =IF formula that searches text
    By financegrl in forum Excel General
    Replies: 8
    Last Post: 09-20-2012, 08:11 PM
  2. Replies: 2
    Last Post: 06-23-2009, 03:27 PM
  3. How can you write a formula that searches for a particular word?
    By trainer07 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2006, 12:30 PM
  4. Getting valid web searches and avoiding sites that contaminate web searches
    By David McRitchie in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-12-2006, 10:10 PM
  5. FIND formula that searches from right?
    By KellyB in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-21-2005, 07:06 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