+ Reply to Thread
Results 1 to 1 of 1

Need Help With and INDEX MATCH Formula!!!

  1. #1
    Registered User
    Join Date
    10-05-2012
    Location
    'Merica
    MS-Off Ver
    Excel 2003
    Posts
    5

    Need Help With and INDEX MATCH Formula!!!

    Hello All,

    I have two tables which I would like to parse through in order to eventually come up with 3 end result fields for each ID in Table 1: Start Date, End Date, and In CC.

    I want:
    • Start Date to be looked up from Table2 where the max value less than the ActDate from Table 2 where Table 1 ID = Table 2 ID
    • End Date to be the min End Date from Table 2 Greater than Act Date from Table 2 where Table 1 ID = Table 2 ID
    • In CC should then return whether or not based on the Act Date from Table 1, whether or not the Act Date from Table 1 occurred PRE, DURING, or POST the Date Range for the Start Date and End Date from Table 2 where Table 1 ID = Table 2 ID

    A few Caveats:
    • A record may not have any matching record in Table 2 for which Table 1 In CC should return Never in CC, and Start Date and End Date would be blank
    • A record might have a Start Date and an End Date in Table 2 for which Table 1 would populate Start Date, End Date, and In CC as mentioned above
    • A record might have a Start Date and no End Date in Table 2 for which Table 1 would populate Start Date, have End Date Blank, and In CC return DURING

    As of right now I have a formula which successfully pulls the Start and End Dates for some, but in others returns essentially a fictitious Date for Start Date and End Date, and I am at a loss as for why. The fictitious date I get for the Start Date is 12/28/2015, and the fictitious date I get for End Date is 5/11/2016.

    My formula for Start Date is:
    Please Login or Register  to view this content.

    My formula for End Date is:
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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] This formula works but I donīt understand why Index(Index) match
    By campelliann in forum Excel General
    Replies: 2
    Last Post: 01-25-2016, 05:55 PM
  2. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  3. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  4. Replies: 4
    Last Post: 01-13-2014, 04:16 AM
  5. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  6. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 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