+ Reply to Thread
Results 1 to 6 of 6

pulling multiple results from one page and putting them on another (vlookup, index match?)

  1. #1
    Registered User
    Join Date
    04-26-2014
    Location
    maryland
    MS-Off Ver
    excel 2013
    Posts
    8

    pulling multiple results from one page and putting them on another (vlookup, index match?)

    Hey everyone I'm trying to put together a class roster as follows
    I have the following tabs
    course title (has a defined name for the list of course descriptions) with a second column of course codes
    Student roster (has a list of all students with the courses they are signed up for, whether they take day, night, or mixed classes, and a grad year)

    Course roster (this is what I need help with)
    I want the course roster tab to let me pick from the pull down the course name and give the code for it (this part i have done)
    Next I want it based on that course code to find from the student roster all of the students in that class
    Then I want it to list the students with the courses they are in their class time and grad year

    I'm pretty sure I've done something like this before using excel functions but for the life of me cannot remember how so any help would be appreciated
    I also need it to still work even if the students have blanks in their schedules like in some of the cases

    I am uploading a copy.
    Course Sched.xlsx

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: pulling multiple results from one page and putting them on another (vlookup, index mat

    Like so...:
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-26-2014
    Location
    maryland
    MS-Off Ver
    excel 2013
    Posts
    8

    Re: pulling multiple results from one page and putting them on another (vlookup, index mat

    Jbeaucaire,

    Thanks that works great. Do you think this would be the best way to make any 0's blank in the results or is there something better?
    =IF(IF(ROW(G4)>$C$2, "", INDEX('Student Roster'!G:G, MATCH(ROW(G4), 'Student Roster'!$K:$K, 0)))=0,"",IF(ROW(G4)>$C$2, "", INDEX('Student Roster'!G:G, MATCH(ROW(G4), 'Student Roster'!$K:$K, 0))))

    Thanks again for your help

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: pulling multiple results from one page and putting them on another (vlookup, index mat

    The data you demonstrated and my suggestion doesn't introduce 0 results, so I don't understand the question you've introduced.

  5. #5
    Registered User
    Join Date
    04-26-2014
    Location
    maryland
    MS-Off Ver
    excel 2013
    Posts
    8

    Re: pulling multiple results from one page and putting them on another (vlookup, index mat

    JBeaucaire,

    On the students that had blanks in their class list when it got carried over to the class roster there were 0's in the blank spots on mine.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: pulling multiple results from one page and putting them on another (vlookup, index mat

    For my original formula, you can add &"" to the end of the formula to hide the 0s.

    =IF(ROW(A1)>$C$2, "", INDEX('Student Roster'!A:A, MATCH(ROW(A1), 'Student Roster'!$K:$K, 0))) & ""

+ 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 - pulling monthly results for teams from separate sheets to a single result pg
    By f150guygk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-21-2014, 03:43 PM
  2. Index Match with multiple results
    By pitterpatton in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-10-2014, 10:41 PM
  3. [SOLVED] Pulling multiple index results from a single input number
    By cwatsonSONA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-11-2013, 11:00 AM
  4. Replies: 0
    Last Post: 05-15-2013, 05:05 AM
  5. Index/Match formula not pulling through desired results
    By Climaxgp in forum Excel General
    Replies: 0
    Last Post: 08-02-2010, 08:14 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