+ Reply to Thread
Results 1 to 3 of 3

Lookup Issue with Duplicate Data

  1. #1
    Registered User
    Join Date
    02-06-2018
    Location
    shanghai, china
    MS-Off Ver
    2010
    Posts
    21

    Lookup Issue with Duplicate Data

    Hi,
    This is my second Term scheduling with this template and I wanted to make an adjustment so that when

    There are about 10 Courses, primarily each Course has 7 lessons (some may have a few more) and the titles of the classes change frequently while Im scheduling. Last Term, I had a two drop boxes the first selected the Course "PostProduction1" and the second was dependant list with the lesson "4.Dramatic Lighting and Advanced Depth Techniques" based off the list on another sheet. But when people wanted to change the lesson name I had to first change the name and then go and reselect the new title to get the rest of the info to fill in (Room, Instructor, Groupings).

    So this term I was hoping to select the Course "PostProduction1" and the second would be a dependent list with the lesson numbers "1-7" and then the lesson name, room, instructor, groupings would fill in from a lookup. But because theres duplicates I cant seem to figure out how to do it. Ive tried different monikers that I could think of for numbering the lessons but now its become both cumbersome and still hasn't really worked.

    Only cells c5:c11 d5:d11 have the correct formulas (I added a line to everyday and haven't fixed everything yet) and Ive only been testing Post Production and Producing 2 and 5.

    Is there a way to have the lessons named 1-7 instead of the more complicated PP5L2?

    Thanks in advance for any direction!

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Lookup Issue with Duplicate Data

    For your cell C7, array-enter (Enter using Ctrl-Shift-Enter instead of just Enter)

    =IFERROR(INDEX('C2 C5'!D:D,MAX(IF('C2 C5'!$B$2:$B$200=C5,IF('C2 C5'!$C$2:$C$200=C6,ROW('C2 C5'!$B$2:$B$200))))),"")

    That will return the value from column D that matches C5 and C6. Use the same formula (again, array-entered) but change the D:D to the column that you want to extract values from.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    02-06-2018
    Location
    shanghai, china
    MS-Off Ver
    2010
    Posts
    21

    Re: Lookup Issue with Duplicate Data

    Thanks so much, this totally fixed it!

+ 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] Duplicate Data ranking issue
    By Excel15 in forum Excel General
    Replies: 12
    Last Post: 03-30-2017, 03:08 PM
  2. Lookup and Match Data for Duplicate IDs
    By Neyme in forum Excel General
    Replies: 2
    Last Post: 09-12-2015, 10:07 PM
  3. Lookup that can pull from duplicate data in two columns
    By fbodylt1 in forum Excel General
    Replies: 2
    Last Post: 09-24-2013, 02:02 AM
  4. Lookup data in different sheets with duplicate data
    By jueqin in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-15-2012, 09:09 PM
  5. Vlookup issue - duplicate data
    By Deanoz in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-19-2012, 01:13 AM
  6. Replies: 3
    Last Post: 07-29-2011, 02:14 AM
  7. Lookup Issue with Data Set
    By usc1382 in forum Excel General
    Replies: 2
    Last Post: 11-11-2010, 08:09 AM

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