Results 1 to 3 of 3

Using VLOOKUP [ or INDEX (MATCH) ] to Find Two Separate Occurrences in an Array

Threaded View

  1. #1
    Registered User
    Join Date
    02-26-2017
    Location
    Tucson, AZ
    MS-Off Ver
    2013
    Posts
    2

    Post Using VLOOKUP [ or INDEX (MATCH) ] to Find Two Separate Occurrences in an Array

    I am struggling to properly define VLOOKUP [or INDEX (MATCH)] to find two separate occurrences of the same event in an array. Here is the background:
    1) I have three tabs in my Excel File entitled “BY DATE”, “YOUTH”, and “ADULTS”.
    2) Two (2) Adults and two (2) Youth participate in an event each week and I record the date they participated next to their name in the appropriate tabs for “ADULTS” and “YOUTH”.
    3) The “BY DATE” tab is designed to populate the names of which Adults and which Youths participated on a given week, listing the dates chronologically down the first column (reference my simplified Excel Forum Example file).
    4) I am trying to use VLOOKUP in the “BY DATE” tab to search the “YOUTH” and “ADULT” tabs for a given date and place the names in the appropriate locations for a summary view.
    5) Let me explain with a verbal example: On May 15, 2017, YOUTHs Hayley and Michael participated with ADULTS Ben and Debbie in the event. I inserted the date by their names under “YOUTH” tab and “ADULTS” tab, respectively (Highlighted GREEN).
    6) In the “BY DATE” tab, I search the “YOUTH” and “ADULT” tabs for the date May 15, 2017 to find the names:
    Formula: [ =VLOOKUP($A4,YOUTH!$A$3:$B$12,2,0) ] AND [=VLOOKUP($A4,ADULTS!$A$3:$B$12,2,0) ]
    7) MY PROBLEM: I have found that each time VLOOKUP searches the array it starts from the beginning of the array ($A$3) and consequently finds the “first” date occurrence each time.
    8) I believe I can solve this if, for the second YOUTH and second ADULT, I could make VLOOKUP begin the array search from the line after the first YOUTH or ADULT found. For example, on the “YOUTH” tab the VLOOKUP array search [$A$3:$B$12] identified Hayley on row 4 for May 15, 2017. To find the second YOUTH, I need the VLOOKUP array search to start with the row after Hayley; i.e., row 5 ( the VLOOKUP array should look like [$A$5:$B$12]). I do not know how to automatically increment VLOOKUP to begin the second search on the row following where the first name was identified.
    Can anyone help and recommend a solution to my problem? THANKS IN ADVANCE FOR YOUR ATTENTION.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Array, VLOOKUP - or- Match/index with a Countif.
    By JasonNeedsHelp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-15-2015, 05:38 PM
  2. [SOLVED] Index Match Vlookup Array or Similar
    By djm601 in forum Excel General
    Replies: 3
    Last Post: 10-27-2014, 04:39 PM
  3. Find number in array that is less than INDEX MATCH??
    By tmurc123 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-29-2014, 09:21 PM
  4. [SOLVED] Can you set array for Vlookup or Index/Match using Offset?
    By inincubus in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-16-2014, 12:52 PM
  5. index, match, vlookup, array ....combining all these?
    By hog77 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-05-2012, 12:29 PM
  6. Manual AutoFilter - Vlookup, Index, Match, Array???
    By TEAM in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-15-2006, 09:55 PM
  7. Index,Match table array in separate workbook
    By Ben in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-11-2006, 03:45 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