+ Reply to Thread
Results 1 to 4 of 4

Index,Match or If, Ands?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-15-2018
    Location
    Ohio
    MS-Off Ver
    Excel 2013
    Posts
    7

    Index,Match or If, Ands?

    Please see below for a simplified version of my problem.

    I need to find the plan name. I need to find this plan name if the Customer matches and the Date (4/1/2018) is between the Effective Date and Term Date from the other table. In this particular case, I would need to return the plan "B".

    Does anyone have any suggestions?

    Customer Date Plan?
    1234 4/1/2018 ????
    Customer Plan Effective Date Term Date
    1234 A 1/1/2018 2/28/2018
    1234 B 3/1/2018 4/30/2018
    1234 C 5/1/2018 6/30/2018
    5678 AB 1/1/2018 2/28/2018
    5678 BC 3/1/2018 4/30/2018
    5678 CD 5/1/2018 6/30/2018
    Attached Images Attached Images

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Index,Match or If, Ands?

    Try...
    Formula: copy to clipboard
    =LOOKUP(2,1/((C6:C11<=B2)*(D6:D11>=B2)*(A6:A11=A2)),B6:B11)
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    06-15-2018
    Location
    Ohio
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Index,Match or If, Ands?

    That works perfectly it seems. Thank you!

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Index,Match or If, Ands?

    You are welcome and thanks for the rep

    If your questions is resolved, please mark the thread as solved by using Thread tool found at top of your initial post.

+ 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+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  2. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  3. [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
  4. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 AM

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