If your class names don't have to have a separate letter (different field) then this solution may work for you.
The first thing I did was to create a name variable (Formulas>Name Manager) to count how many students you had registered. I called this variable StudentData.
The next thing I did was to create an ID field (I made up IDs of course) to eliminate the duplicate name factor (no students will have the same ID number right?) and assigned IDs to each student. I did this on the registration tab (and added the columns on the the class tabs).
Following this, I used this array formula (enter with cntrl-shift-enter and then copy down) to bring in the students assigned to the different color classes (on the class tabs).
In the first INDEX statement with the StudentData variable, the 1 is the first column (on the Registration tab) - that is the ID number and that is what I pull into the class tabs. I match the color of the class (7th column is equal to Blue, Green, Yellow, whatever - you can also make this a cell reference by having a cell with your class color in it). You will see the StudentData variable used again after this... make sure it is also referring to column 1 (the ID). The b$2:b2 reference needs to be the column you are bringing the ID into and needs to be the row above the first row where you want the first ID entered (in this case, the first ID is in column B and row 3).
I then used the INDEX/MATCH combination to match the ID number to the first name, last name, grade, etc...
Registration!B:B is the first name, $B3 is the ID number to match and Registration!A:A is the ID number column you are matching to B3. You will notice the Registration!B:B changes depending on the data I want entered into the field.
I found it odd that your Allergies and Notes fields caused a 0 to be entered if there was nothing in them - thus you will noticed I added an IF statement to check for an empty field first and if there was one, to enter nothing ("") and if there was something there, to enter that data.
Also, there were a couple of class colors that had spaces after the word... those will have to be eliminated because a match counts every character and spaces count as a character.
I have attached the spreadsheet with these formulas in them... hope this will work for you.
Bookmarks