+ Reply to Thread
Results 1 to 3 of 3

Index Match with Partial Match in Lookup Array

  1. #1
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, Suffolk (England), but grew up in Sawley, Derbyshire
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2301 (Windows 11 22H2 64-bit)
    Posts
    65,652

    Index Match with Partial Match in Lookup Array

    This is doing my head in because I am sure I have done it before, but just can't get the syntax right!

    I have this on my summary sheet:

    Excel 2010 32 bit
    B
    C
    D
    E
    F
    G
    2
    ID First Language
    Gender
    Boarder
    House
    Academic Scholar
    3
    4
    5
    1630512497 English
    F
    HD
    6
    0912236113857 English
    F
    RL
    7
    141933705547 English
    M
    Y
    SV
    8
    1634630165 English
    M
    CW
    9
    141022705547 English
    F
    Y
    HD
    10
    1637242533 English
    M
    RL
    Y
    Sheet: Summary Data

    I am trying to populate the academic scholar column with "Y" if the corresponding row here contains the word "Academic":

    Excel 2010 32 bit
    F
    L
    1
    Scholarship List SchoolID
    2
    141933705547
    3
    135903705547
    4
    Sailing 130239705547
    5
    132411705547
    6
    102451705547
    7
    104143705547
    8
    165353705547
    9
    0913041499961
    10
    Music 1733060042
    11
    0913115655475
    12
    Academic, Music 131341705547
    13
    Sailing 151120705547
    14
    163406705547
    15
    1753219100
    16
    Academic 1804166356
    Sheet: Personal Data

    I am using the ID as the match. I am at work and do not have all of my test files to hand, so can't find the file where I did this before: could some kind soul put me out of my misery? By the way, I know there is a leading space in the lookup data column which is the fault of the report generator in the MIS software we use. This is just a small sample of the data: there are matches in the full dataset, and that is not the issue: it's dealing with the match when there is more text in the lookup column (e.g. F12). Thanks in advance!
    Last edited by AliGW; 11-22-2016 at 01:46 PM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Index Match with Partial Match in Lookup Array

    Hi,

    It appears you want something like
    =if(isnumber(search("academic",index('personal data'!F:F,match(b5,'personal data'!L:L,0)))),"Y","")

    I'm posting from a phone but hopefully got the correct brackets in there.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, Suffolk (England), but grew up in Sawley, Derbyshire
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2301 (Windows 11 22H2 64-bit)
    Posts
    65,652

    Re: Index Match with Partial Match in Lookup Array

    Thank you!

    I knew it was easy ...

+ 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. Index array formula based on a partial date match
    By amygweber in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2016, 02:25 PM
  2. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  3. [SOLVED] INDEX MATCH Multiple Output with Partial Match
    By Ray Storm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-02-2015, 12:05 AM
  4. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Lookup, Index, Match, Array Help
    By Reaye in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2013, 03:36 PM
  7. Replies: 7
    Last Post: 06-19-2011, 12:51 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