+ Reply to Thread
Results 1 to 4 of 4

Insert Search (wildcard) in an index/match formula

  1. #1
    Registered User
    Join Date
    03-15-2011
    Location
    Iowa City, IA
    MS-Off Ver
    Excel 2013
    Posts
    29

    Unhappy Insert Search (wildcard) in an index/match formula

    Hello All,

    I figured out how to put in two conditions to my index/match formula. But now I need to complicate it further. The formula below, retrieves the "Staff" from the Master List (Column A) if that person is in "Team" LR (Column B) and has a status "Contract" (Column L). However, "Team" may have different variations. LR-Del, LR-Child, LR-Parent, etc. I tried to put in a wildcard the LR but that didn't work (not possible with If statements). Then I tried the Search() but I can't insert it in the formula correctly. Is there a better way to do this? If Search is the correct function, how/where do I insert it in the follow formula?

    =IF(ISERROR(INDEX('Master list'!$A$1:$AD$278,SMALL(IF(('Master list'!$B$1:$B$278="LR") * ('Master list'!$L$1:$L$278="Contract"),ROW('Master list'!$B$1:$B$278)),ROW(1:1)),2)),"",INDEX('Master list'!$A$1:$C$278,SMALL(IF(('Master list'!$B$1:$B$278="LR") * ('Master list'!$L$1:$L$278="Contract"),ROW('Master list'!$B$1:$B$278)),ROW(1:1)),1))

    Thanks

    Zeda

  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: Insert Search (wildcard) in an index/match formula

    A couple of ways...

    If the LR is always the first 2 characters you could do this:

    IF(LEFT(range,2)="LR"...

    OR:

    IF(ISNUMBER(SEARCH("LR",range))...
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    03-15-2011
    Location
    Iowa City, IA
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Insert Search (wildcard) in an index/match formula

    Mr. Valko,

    Yes, yes, that worked!

    =IF(ISERROR(INDEX('Master list'!$A$1:$AD$278,SMALL(IF((LEFT('Master list'!$B$1:$B$278,2)="LR") * ('Master list'!$L$1:$L$278="Contract"),ROW('Master list'!$B$1:$B$278)),ROW(1:1)),2)),"",INDEX('Master list'!$A$1:$C$278,SMALL(IF((LEFT('Master list'!$B$1:$B$278,2)="LR") * ('Master list'!$L$1:$L$278="Contract"),ROW('Master list'!$B$1:$B$278)),ROW(1:1)),1))

    Thank You

    Zeda

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

    Re: Insert Search (wildcard) in an index/match formula

    You're welcome. Thanks for the feedback!

+ 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] Index and match using wildcard
    By Eustace07 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-09-2016, 01:30 PM
  2. 2 variable index match with wildcard
    By izk630 in forum Excel General
    Replies: 4
    Last Post: 10-26-2015, 02:42 PM
  3. [SOLVED] INDEX - MATCH on two Criteria with wildcard
    By SrDurham in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2015, 09:04 AM
  4. [SOLVED] Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!
    By DaveBre in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-11-2014, 01:03 AM
  5. [SOLVED] Index,Offest, Match, Wildcard?
    By fgruhlke in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-18-2014, 11:27 PM
  6. [SOLVED] Wildcard search within IF and LARGE / SMALL INDEX searches.
    By Mainiac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2013, 11:14 AM
  7. [SOLVED] Wildcard text match using INDEX and MATCH
    By mmayna03 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2012, 03:02 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