+ Reply to Thread
Results 1 to 14 of 14

Generate a list based on meeting certain criteria.

  1. #1
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Generate a list based on meeting certain criteria.

    SO here is my problem i have list of students who are signed up for certain courses. Each day there are two sessions (1 and 2), for a total of ten days and sessions combined.

    What i need to be able to create attendance sheets based on the classes that the kids have signed up for. I want to be able to select from the drop down menus and then have the lists automatically populated. I would also like the cells to have a border put around them so i can use them as the weekly attendance sheet. I think that is done with conditional formatting and i may have that part figured out but i cannot figure out how to get the lists to populate.

    Thanks in advance for any help you gurus are able to give.

    I have attached a sample sheet.

    Los
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Generate a list based on meeting certain criteria.

    So what would a sample answer look like?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Generate a list based on meeting certain criteria.

    Here is a sample of what i am looking for.....

    The attendance sheet auto populates with the students signed up for each class.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,711

    Re: Generate a list based on meeting certain criteria.

    See attached:

    Formula ...


    =IFERROR(INDEX('Enrollment List'!$B$4:$B$100,SMALL(IF(INDEX('Enrollment List'!$H$4:$Q$100,,MATCH($B$2,'Enrollment List'!$H$1:$Q$1,0)-1+$B$3)="X",ROW($A$4:$A$100)-ROW($A$4)+1,""),ROWS($A$4:A4))),"")

    Enter with Ctrl+shift+Enter and copy down

    As before changed "session 1" to 1 on headings in "Enrollment List"
    Attached Files Attached Files
    Last edited by JohnTopley; 11-01-2015 at 12:17 PM.

  5. #5
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Generate a list based on meeting certain criteria.

    Thank you for the reply, apparently the file i attached lost the third drop down menu for the course selection. So i have reattached the most up to date sheet. So now it will only return those students who are signed up for Monday, session 1, homework help 1-3 or any combination of the day, session and course.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,711

    Re: Generate a list based on meeting certain criteria.

    There is no table which identifies a class attendance: there are only sessions so by default any class selected for Monday Session ! will give the results I provided.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Generate a list based on meeting certain criteria.

    would there be any way to get these results?

  8. #8
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Generate a list based on meeting certain criteria.

    How about with this one???
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,711

    Re: Generate a list based on meeting certain criteria.

    If the all people in a given session do NOT attend ALL classes for that session, then you need a "Class within Session"" enrolment list.

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,711

    Re: Generate a list based on meeting certain criteria.

    See attached.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Generate a list based on meeting certain criteria.

    So i am at a loss as to how i could make this work. How could i manipulate the data to get the tired results, I'm not sure what you mean by "class within session"

  12. #12
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Generate a list based on meeting certain criteria.

    I think What you did worked.... Thank you SOOOOOO much you were a great help

  13. #13
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,711

    Re: Generate a list based on meeting certain criteria.

    See the latest posting: you provided the answer in your posting when replaced the "X" with Class title!!!!!

  14. #14
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,711

    Re: Generate a list based on meeting certain criteria.

    Team effort!

    If you are happy with the results, please mark thread as SOLVED.

+ 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] Count Data Meeting Criteria Across Columns Meeting Criteria
    By idelta in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-06-2015, 03:53 PM
  2. Generate a list based on meeting a criteria
    By nekomi15 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-02-2015, 02:31 PM
  3. Excel 2007 : How to generate a list based on criteria
    By fraggle in forum Excel General
    Replies: 7
    Last Post: 05-20-2015, 04:41 AM
  4. Generate Unique List Meeting Criteria
    By ictodd in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-22-2014, 03:06 AM
  5. Generate list of names based on multiple criteria
    By mattadler22 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-03-2013, 06:02 PM
  6. Replies: 2
    Last Post: 03-30-2011, 08:05 PM
  7. Record Symbols from Changing List Based on Meeting Various Criteria in Other Cells
    By DrSues02 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-18-2007, 05:20 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