Excel: Allocating Streams to Students based on GPA and Choice Preference -
i have total of 64 students allocated 19 different streams on basis of gpa. students have indicated preference streams. 5 students can allocated first 3 streams (a-c), 4 students stream d , remaining fifteen streams 3 students each. have added data excel sheet have no idea how process achieve above results. the data organized this. i'm happy share original file couldn't find way upload that.
this solved automatically in vba macro faster version doing bit fast , dirty formulas. starts have already, ranking gpa.
insert 2 rows each student. in row calculate "filling" of streams. if have bazillion students, should write small macro copy paste every other line. shame excel not accept pasting empty values no-change-values.
either change rankings search/replace or create new sheet "desired allocation" value highest wanted stream. cell c2 should this:
=20-'originalsheet'!c2
we working on new sheet
so have these rows: (student - allocation - availability - student - allocation - availability)
in allocation line, fill allocation of student above, in availability row fill current available spaces.
the first student gets allocated or hers choice.
the allocation row gets formula investigates if current cell has lowest possible value. so. row2: first student, row3: allocation, row4: new availability, row5: students wishes, row 6: use formula in cell c6
=if(sumproduct(max(($c5:$u5)*(($c4:$u4)>0)))=c6;1;0)
then next line, new availability simply
=c4-c6
copy paste formulas downwards. may trouble students on similar gpas ranking top bottom sets priority in scheme. don't have original file , don't have time build image looked worked tiny test-setup.
slightly easier doing hand, again; if have bazillion students , doing allocation - ask in vba section.
summary:
- rank gpa
- change highest wish highest number
- insert 2 rows each student
- calculate manually first student, should not difficult...
- use formulas , make cell references not bungled up.
Comments
Post a Comment