+ Reply to Thread
Results 1 to 8 of 8

Excel - looking for subject and copying attending student

  1. #1
    Registered User
    Join Date
    02-26-2014
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    46

    Excel - looking for subject and copying attending student

    Hello,

    I am stuck on a new project and cannot seem to get a function that works.

    I have a sheet named "Master" with student reference numbers (A2), student names (B2/C2) and their four subjects (D2, E2, F2, G2).

    I need a separate sheet for each subject, so potentially 30 additional sheets, and i would like for where a subject is mentioned in one of the four columns of the master, the students reference and names would then be copied and pasted into a row on that subject specific sheet. Leaving the subject sheets with a list of names and numbers of the students studying.

    So you would have a student on the master sheet and then they would appear on four additional subject sheets.

    Ideally it would also update subject sheets as new students are added. And additional information is being added to the subjects sheets so they cannot be cleared.

    Is this possible with formula??

    Thank you for your help in advance.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Excel - looking for subject and copying attending student

    Hi,

    Is this the sort of thing that you're after?

    I have deliberately left off the "Art" worksheet, as I wanted to show you a feature of this workbook that I have incorporated that may or may not be of use. If you don't need this feature, let me know and I can grossly shorten the length of the formula.
    1. Right-click on the "Biology" worksheet tab
    2. Select "Move or copy..."
    3. Tick "Create a copy" and select "(move to end)"
    4. Rename the copied worksheet to "Art" and watch the formula in action
    In short, this formula populates the list of students based on the worksheet name, so that worksheets can be copied to create new subjects without having to retype the formulas again

    Here is the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note that this is an array formula, and requires Ctrl + Shift + Enter, not just Enter to work.

    I hope this helps

  3. #3
    Registered User
    Join Date
    02-26-2014
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Excel - looking for subject and copying attending student

    Hello!

    This is amazing!!!
    Thank you so much.
    You have no idea, how many hours or fighting with formulas and visual basic to try and get this to work.

    Thank you so much!!!
    :-)

  4. #4
    Registered User
    Join Date
    02-26-2014
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Excel - looking for subject and copying attending student

    Can I ask, if I wanted to add a fifth subject column on the master sheet, so they have five options have would this be achieved?

    Thank you.

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Excel - looking for subject and copying attending student

    You're welcome! I'm glad I could help.

    Here is the 5th column added as you have requested

    If this solves your problem, please don't forget to mark this thread as solved

  6. #6
    Registered User
    Join Date
    02-26-2014
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Excel - looking for subject and copying attending student

    Yes, that is perfect.
    I think i'll have a study of the formula to see where i was going wrong.

    Thank you again!
    :-)

  7. #7
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Excel - looking for subject and copying attending student

    No problems

    Please don't forget to mark this thread as solved

  8. #8
    Registered User
    Join Date
    02-26-2014
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Excel - looking for subject and copying attending student

    Quote Originally Posted by ajryan88 View Post
    No problems

    Please don't forget to mark this thread as solved
    It already is.

+ 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] Moving student rows to respective subject sheets
    By ksgvikas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2012, 02:28 PM
  2. Replies: 10
    Last Post: 05-23-2012, 11:11 AM
  3. Copying subject and body text of .msg files to excel
    By madbloke in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-18-2009, 06:30 PM
  4. Copying Columns subject to formula to another worksheet
    By Ashley W in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-04-2009, 11:56 PM
  5. Copying and paste it in subject using email macro
    By vane0326 in forum Excel General
    Replies: 0
    Last Post: 02-09-2005, 11:46 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