+ Reply to Thread
Results 1 to 6 of 6

Formula to pull out data from a list to create "Class Lists"

  1. #1
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Formula to pull out data from a list to create "Class Lists"

    Good morning all,

    I have a master list of enrollment for our summer school program and i was wondering if there was a way to automatically add each student to a class list as their information is inputted. What i mean is, after input Sally Student in the main enrollment list she would automatically go to the class list for the class she has chosen.

    I have attached a sample workbook with my desired results. Basically what i want to do is make this easier for those in charge to get the class lists from the main list without having to copy and past all the time.

    The class lists are in the tabs in the workbook.

    These formulas are way above my pay grade so, any and all help would be greatly appreciated.

    Thanks in advance.

    Los
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formula to pull out data from a list to create "Class Lists"

    In h3, copied down
    =IF(G3>0,G3&"_"&COUNTIF($G$3:G3,G3),"")

    You can hide this column after you create it.

    In each tab, I placed the tab name in H1

    Then in A3 copied across and down
    =IFERROR(INDEX(Enrollment!A$3:A$100, MATCH($H$1&"_"&ROWS($A$1:$A1),Enrollment!$H$3:$H$100,0)),"")
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formula to pull out data from a list to create "Class Lists"

    Ahh, I see the tabs are broken up by grades sometimes. Will revise

  4. #4
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Re: Formula to pull out data from a list to create "Class Lists"

    Thanks for the response, I know what you are trying to do but i cant seem to replicate it and get the desired results. Also some the classes are broken up by grades, would it be possible to look at the name of the class then the grade to create the lists?

    Thanks again

    Los

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formula to pull out data from a list to create "Class Lists"

    Here's the revised spreadsheet. The formula on "Enrollment" got a lot more complex

    =IF(G3>0,IF(OR(G3={"Creative Big Book Literacy","Energy and You"}),VLOOKUP(F3,INDIRECT(SUBSTITUTE(G3," ","")),2)&"_"&SUMPRODUCT(--(ISNUMBER(SEARCH(VLOOKUP(F3,INDIRECT(SUBSTITUTE(G3," ","")),2),$H$1:H2))))+1,G3 &"_"&COUNTIF($G$3:G3,G3)),"")

    I created two lists on your Codes worksheet (BigBookLiteracy and EnergyAndYou) (see Defined names) which that formula pulls from with the VLOOKUPs

    The rest is similar from there on. See attachment.

    This will not pull the email links across. That's not possible with formulas. You'd need to put the actual emails on the Enrollment sheet.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Re: Formula to pull out data from a list to create "Class Lists"

    That is perfect thank you so much!!!!

    Los

+ 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] Create Class List from All Lists
    By bs13blc in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-16-2013, 10:16 AM
  2. Replies: 0
    Last Post: 08-30-2012, 04:39 PM
  3. Replies: 6
    Last Post: 01-26-2012, 10:02 PM
  4. Replies: 8
    Last Post: 03-07-2011, 01:43 PM
  5. Replies: 0
    Last Post: 07-09-2009, 04:07 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