+ Reply to Thread
Results 1 to 9 of 9

Sorting Students Names and Attributes

Hybrid View

  1. #1
    Registered User
    Join Date
    09-18-2014
    Location
    New Mexico
    MS-Off Ver
    2007
    Posts
    6

    Sorting Students Names and Attributes

    Hello Everyone,

    I've run into a bit of problem when trying to reference cells in different sheets. So, what I have are 20 sheets with nineteen sheets corresponding to a student (with sheet's name as the student's [with spaces]). The sheets corresponding to the individual students have the names and attributes on the same row. On the twentieth sheet I'm trying to create a column of cells of all the student's names and corresponding attributes in the adjacent columns (i.e., grades), which is essentially looking at the class as a whole. Everytime I try referencing the cells and do a copy spread action, into a column of cells in the overview sheet, from the student sheets I get a #NAME? or an Err.509.

    Can some one please help me figure this conundrum out? If you need more information, please let me know.

    Thank you!


    Example_Spread.xlsx
    Last edited by jverne; 09-21-2015 at 12:32 PM. Reason: Attachments, Solved

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.101.3 (25100321))
    Posts
    9,310

    Re: Sorting Students Names and Attributes

    Please upload a sample of your workbook to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    Would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    09-18-2014
    Location
    New Mexico
    MS-Off Ver
    2007
    Posts
    6

    Re: Sorting Students Names and Attributes

    Quote Originally Posted by etaf View Post
    Please upload a sample of your workbook to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    Would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.


    Okay, I've made the additions. Hopefully the example spreadsheets helps.

  4. #4
    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,053

    Re: Sorting Students Names and Attributes

    Have you considered swapping things around so that you have ALL data on 1 sheet, instead of 19 different sheets, and then running your summaries from that?
    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

  5. #5
    Registered User
    Join Date
    09-18-2014
    Location
    New Mexico
    MS-Off Ver
    2007
    Posts
    6

    Re: Sorting Students Names and Attributes

    Quote Originally Posted by FDibbins View Post
    Have you considered swapping things around so that you have ALL data on 1 sheet, instead of 19 different sheets, and then running your summaries from that?
    The reason I'm doing multiple sheets is so if the student requests their grade(s) and/or comments only; I can send them just that sheet. Also, if another professor wants to see the grades of a specific student they can view the specifics outlined on that specific sheet for that particular student. And the overview sheet makes it easier for me to view the whole class, as it references the cells from the other sheets.

  6. #6
    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,053

    Re: Sorting Students Names and Attributes

    You could still have all data on 1 sheet, then set up a summary sheet to pull in the student info based on just entering their name or number. That would then be the sheet that gets viewed.

    Upload a small dummy file and I will show you what I mean

  7. #7
    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,053

    Re: Sorting Students Names and Attributes

    In the attached, I have 2 different suggestions.

    1. I added 2 new sheets - Summary and Data
    Data is all students in 1 sheet
    Summary pulls into for all students (these 2 sheets, based on your sample, are essentially the same thing)

    2. I used a UDF (User Defined Function - a macro/VBA) to extract each sheet name into a list.
    Then I used INDIRECT() based on that list, to pull from each sheet.

    See which 1 works better for you
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    09-18-2014
    Location
    New Mexico
    MS-Off Ver
    2007
    Posts
    6

    Re: Sorting Students Names and Attributes

    Quote Originally Posted by FDibbins View Post
    In the attached, I have 2 different suggestions.

    1. I added 2 new sheets - Summary and Data
    Data is all students in 1 sheet
    Summary pulls into for all students (these 2 sheets, based on your sample, are essentially the same thing)

    2. I used a UDF (User Defined Function - a macro/VBA) to extract each sheet name into a list.
    Then I used INDIRECT() based on that list, to pull from each sheet.

    See which 1 works better for you

    Thank you so much for the help, and both methods are awesome! The macro/VBA suggestion may be the best route for me. Thank you again and I added to your reputation.

  9. #9
    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,053

    Re: Sorting Students Names and Attributes

    Happy to help, thanks for the feedback

+ 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. Replies: 10
    Last Post: 09-26-2016, 09:38 AM
  2. Replies: 2
    Last Post: 09-10-2014, 08:56 AM
  3. [SOLVED] Remove the Absent Students from the List of Failing Students
    By alyaahmed in forum Excel General
    Replies: 2
    Last Post: 03-28-2013, 01:40 PM
  4. Replies: 11
    Last Post: 03-21-2013, 11:03 AM
  5. Replies: 3
    Last Post: 05-04-2011, 07:12 AM
  6. Sorting students into classes
    By Squeaker1066 in forum Excel General
    Replies: 2
    Last Post: 07-18-2008, 03:10 PM
  7. [SOLVED] sorting names alphabetically when names may start with numbers
    By John Smith in forum Excel General
    Replies: 3
    Last Post: 05-11-2005, 04:06 PM

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