+ Reply to Thread
Results 1 to 5 of 5

=IF(ISNUMBER(SEARCH(.... using lookups?

  1. #1
    Registered User
    Join Date
    03-12-2014
    Location
    Manchester, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    =IF(ISNUMBER(SEARCH(.... using lookups?

    Hi all,
    On the attached spreadsheet I want to enter a formula in cell B3 that says - if A3 contains any of the values listed in column E then enter the adjacent value shown in column F.

    This is just an extract from the spreadsheet, the actual "contains" list includes over 100 items so repeating "=IF(ISNUMBER(SEARCH(E3,A3)),F3)" 100 times would mean a huge formula.

    Is this possible?

    Thanks!
    J
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: =IF(ISNUMBER(SEARCH(.... using lookups?

    Hi,

    You don't say what the result should be if the Description contains more than one of the search strings (e.g. 8888 13FEB14 , MORRISON PETROL , 0 GB), but, in B3 and copy down:

    =INDEX($F$3:$F$20,MATCH(TRUE,INDEX(ISNUMBER(SEARCH($E$3:$E$20,A3)),,),0))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    03-12-2014
    Location
    Manchester, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: =IF(ISNUMBER(SEARCH(.... using lookups?

    Thank you!
    I'll be able to work around Morrison and Petrol; they are the only two search strings that sometimes appear together.
    Regards,
    J

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: =IF(ISNUMBER(SEARCH(.... using lookups?

    You're welcome!

  5. #5
    Registered User
    Join Date
    12-25-2017
    Location
    Mumbai, India
    MS-Off Ver
    2013
    Posts
    1

    Re: =IF(ISNUMBER(SEARCH(.... using lookups?

    This formula is also working for me, but can you please help me in understanding this formula by what value each function will return?

+ 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. Need help with isnumber(search) Formula
    By lpretor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-15-2013, 08:14 PM
  2. [SOLVED] =IF(ISNUMBER(SEARCH Problem
    By 3smees23 in forum Excel General
    Replies: 3
    Last Post: 11-09-2012, 10:54 AM
  3. If, or, isnumber, search
    By reb2u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2012, 10:53 AM
  4. Multiple IF ISNUMBER SEARCH
    By bibach in forum Excel General
    Replies: 5
    Last Post: 07-13-2011, 04:41 AM
  5. Isnumber(search
    By AVIDDA in forum Excel General
    Replies: 1
    Last Post: 01-14-2011, 02:45 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