The spreadsheet can be configured with reasonable ease to accommodate grade categories. The
strategy involves configuring assessment level spreadsheets for each category, configuring the student level spreadsheet to assign the activities to categories and calculate the overall grade, and configuring the course spreadsheet to calculate overall category averages, etc.

**Configuring the Assessment Level Spreadsheets**

Because columns N-V are not used in the default assessment spreadsheet, pairs of columns from within that set can be customized for each category to replicate the 'Available Points' (by default in column X) and 'Awarded Points' (by default in column Z). For example, columns N and O can replicate these columns for a homework category, whereas columns P and Q can replicate these columns for a quiz category, etc. The appropriate columns can be summed on the student level spreadsheet.

To create a homework category assessment spreadsheet with this strategy, navigate within
the spreadsheet interface to any assessment. Modify the formula in `N0` to be `Z0` (no quotes) for awarded points, and `O0` to be `X0` (no quotes) for possible points and then save the spreadsheet with a name such as homework_assesscalc. See **Spreadsheet Editing** (). Repeat the procedure for each grade category, using different pairs of columns for each category and a different assessment spreadsheet name for each category.

**Assigning the Assessment Level Spreadsheets and Calculating Student Grades**

The assessment level spreadsheets are assigned to specific assessments at the student level spreadsheet. Navigate to the student level sheet, and browse to find an assessment that you wish to assign to an assessment category. In the assessment row, find in the third column a dropdown titled 'Assessment.' Select the desired assessment category that was created above. The formulas from the assessment spreadsheet will be automatically applied to that row.

Notice also on the student spreadsheet, under each folder title is a dropdown that provides an option to set the default assessment spreadsheet for the entire folder. This will apply the selected spreadsheet to all existing assessments, as well as any new assessments added to the folder in the future.

Next, edit row 0 to program the summations for the pairs of columns for each grade category. Remember that row 0 columns A-Z and a-z will be
available for student viewing, so add appropriate text labels such that the calculations are clear to the
students. Remember that the cells are much more powerful that traditional spreadsheets, and the cells can contain multiple lines of Perl script. For example, to calculate homework scores and drop a certain number of points, if columns N and O contain the awarded and available points respectively, each column can be totaled using `&SUM('N*')` and `&SUM('O*')` as well as logic statements and algebraic statements to apply the calculations. Note below how the script for homework score in column d gives students 50 'grace' points, but also adjusts for a maximum of 100%. The quiz calculations in column h avoid an error of division by zero if no quiz scores are present.

<field col=a row=0> '(b)Raw Homework Points: (c)Raw Homework Possible: (d)Scaled Homework Percentage:' </field> <field col=b row=0>&SUM('N*')</field> <field col=c row=0>&SUM('O*')</field> <field col=d row=0> $possible = c0; if($possible > 50) { $possible=c0-50; } $possible > 0 ? ($percent=b0/$possible*100) : ($percent=0); $percent >= 100 ? 100 : $percent; </field> <field col=e row=0> '(f)Raw Quiz Points: (g)Raw Quiz Possible: (h)Quiz Percentage:'</field> <field col=f row=0>&SUM('P*')</field> <field col=g row=0>&SUM('Q*')</field> <field col=h row=0> g0 > 0 ? (f0/g0*100) : 0; </field>

Columns A-Z should contain the totals for each category and the calculated grade because only these columns will be exported to the course level sheet.

Before you leave the student spreadsheet, **be sure to save the spreadsheet or you will
loose all your customized work!** See **Modifying the Spreadsheet** (). You will want to save this spreadsheet as the default to apply the spreadsheet to all students.

After the default student spreadsheet has been created, when new assessment items are added to the course, they may be assigned to existing assessment spreadsheets by using the assessment selector dropdown menu in the third colum, and the default student spreadsheet can be resaved.

**Course Level Spreadsheet**

After the student level sheet is created, the customized student columns A-Z will appear on the course level sheet. For that sheet, row 0 of the course level spreadsheet can be modified to perform any statistics that you would like to see as the instructor. For example, the row can be programmed to calculate the mean and standard deviation for a category. **Be sure to save any customized work as the default unless you need multiple course spreadsheets.**