Author a spreadsheet question

A spreadsheet question involves students entering data into the spreadsheet as directed by the question text.

Spreadsheet questions are helpful if you want the student to enter data or perform spreadsheet calculations without having to leave Möbius, or if you want to customize grading for multiple numeric responses.

Spreadsheet questions can allow for automatic or manual grading (check out Grading details for spreadsheet questions).

A read-only static rendering of the student's response is shown to students and instructors in both the Gradebook and in student feedback after the assignment submission.

To author a spreadsheet question

To author a spreadsheet question from the Question Editor:

  1. Enter the question statement in the Question Text pane of the Question Editor.

  2. Click Möbius component to select the type of student response for this question.

  3.  Click Spreadsheet from the list of student response components.

  4.  Assign a weight to the response. The default weighting is 1.

  5. Right-click on a spreadsheet cell to open the context menu. You can do any of the following:

    • Insert row/column — Add a row or column to the table, either before or after the selected row or column.

    • Remove row/column — Delete the selected row(s) or column(s) from the table.

    • Undo/Redo — Undo the most recent change to the table, or redo the most recent change that was undone.

    • Read only — Lock the contents of the selected cell(s) so they can't be changed by students answering the question.

    • Alignment — Change the horizontal or vertical alignment of text within the selected cell(s).

    • Copy/Cut — Copy or cut the contents of the selected cell(s).

  6. For the Spreadsheet to be presented to students, enter text or formulas into cells as desired.

  7. For the Spreadsheet to provide optional grading formulas, add formulas to calculate the correct answer and the student's grade, then use the context menu to mark the single cell containing the student's grade as the Grade cell.

  8. Click Insert to add this student response component to the question.

  9. The component is inserted into your question.

  10. Click Preview to trial your new question to ensure that it behaves as expected.

  11. Click Save to save your new question. Your new question is now stored in the Questions pane of the Content Repository.

Formulas and functions in the spreadsheet

To enter a formula to calculate the value of a given cell, double-click on the cell and then type the formula starting with an equal sign (=):

Cell references are written as either an upper-case or lower-case letter followed by a number (Example — write A2 or a2 to reference the value in the first column and second row).

Use a colon between two cell references (Example — A1:A10) to denote the range of cells between them.

The two spreadsheets defined in question authoring are updated by Möbius when grading, and are referenced as follows:

  • S1— the completed Spreadsheet to be presented to students that also contains the student's response, and;

  • S2— the completed Spreadsheet to provide optional grading formulas.

To reference a cell from one spreadsheet (Example — B2 in the student's response) in a different spreadsheet, enter the name above followed by the cell reference (Example — S1!B2).

Grading details for spreadsheet questions

Spreadsheet questions are automatically graded by checking all calculations in S1 (the spreadsheet presented to the student and containing their response), and then re-calculating each cell in S2 (the spreadsheet for grading). Then the value of the Grade cell, as marked in S2 during question authoring, is returned as the student's grade.

To mark the Grade cell, select the cell in the Spreadsheet to provide optional grading formulas section that calculates the grade, then right click and select Grade cell from the context menu:

Example formulas for the grade cell

The IF function is the most commonly used function for grade calculation:

  • IF(logic_test, value_if_true, value_if_false)

The first argument needs to be a logical statement that can be determined to be either true or false with the information given in the spreadsheets (Example — S1!A1=S2!A1). If the statement is true then the second argument is evaluated as the result of this function, and if the statement is false then the third argument is evaluated as the result of this function.

Below are some examples of common grading formulas that can be used for the grade cell:

  • Using the IF function to check if the student entered 3 in B4 of their spreadsheet:

=IF(S1!B4=3,1,0)

  • Rounding the student's response in B4 to check it matches π to 2 decimal places:

=IF(ROUND(S1!B4,2)=ROUND(PI(),2),1,0)

  • Combine the part grades calculated in A1, A2, A3 and A4 of the grading spreadsheet (and part grades are between 0.0 and 1.0):

=AVERAGE(A1:A4)