+ Reply to Thread
Results 1 to 2 of 2

need help populating table using lookup or index function

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    Annapolis, MD
    MS-Off Ver
    Excel 2010
    Posts
    1

    need help populating table using lookup or index function

    Please see attached dummy spreadsheet for details.

    I am trying to get the "Camp List" sheet to populate using information from the "Schedules" sheet. Please imagine that I have thousands of students and hundreds of teachers which is why something like this is necessary.

    On the "Camp List" sheet, Cell B2 should call information from the "Schedules" sheet, searching for that student, looking up which class qualifies as English in column F, "Class Type", and returning the corresponding "Crs Title" from that row. I am only a novice with Excel and have tried a combination of Lookup and IF statements but have not found how to combine the two.

    If working correctly, I could use this to populate the whole "Camp List" sheet, showing me that 'Jones, Tom' is taking AP English Lit/Comp S1 for this English class and that 'Jockel' is his teacher.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: need help populating table using lookup or index function

    hi vt78cruiser, welcome to the forum. could you standardize the subject spelling in the 2 sheets? so C3 should also read "English Teacher" instead of just "Eng". then in B2, try this array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    in E3 & E4, you'll see 0. that's because there is such a student & subject, but "Teacher" field was blank. to hide this, format all your cells to Custom:
    General;;

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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] Need help using Index and Match for table lookup with 2 criteria matching
    By lorne17 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-27-2012, 09:26 AM
  2. Lookup function or Index
    By anelson02 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-10-2009, 06:41 PM
  3. Replies: 7
    Last Post: 04-15-2008, 07:25 AM
  4. table, index, array, match, lookup?
    By spxer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2006, 04:35 PM
  5. Help with INDEX lookup please - Poker Odds Table
    By Jefferds44 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-17-2005, 08:25 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