Happy New Year to all!
I am attaching 2 screen shots of part of a sheet in my gradebook workbook. The purpose of this sheet is to capture various types of grades (tests, quizzes, etc) only for active students (those who’ve not withdrawn yet) to upload to our school’s Learning Mgmt System (called Canvas). These can then be copied/pasted into an exported spreadsheet from Canvas that has the correct formats, etc, for re-importing back to Canvas so students can see their grades.
The screen captures are:
– data capture-data view.JPG: this shows a portion of the sheet where I’m capturing the results of Test 1. The formula to capture the data uses info about what sheet and column to get the data from; that way I can use the same formula for all the types of grades (tests, quizzes, etc)
– data capture-formula view.JPG: this shows the formulas involved in the above. See the formulas in C16:C17 (“approach 1”) vs those in C18:C20 (“approach 2”)
Basically “approach 1” uses the ADDRESS BIF to put together the input for the INDIRECT BIF; “approach 2” puts together the input by concatenating the pieces needed by the INDIRECT BIF. Both use the MATCH BIF to find the proper row in the “tests & grades” sheet for the student named in Col B; both also use a +15 since student names start in row 16 of the “tests & grades” sheet, whereas MATCH is returning a relative number within the range $A$16:$A$47 where student names are located. Once the correct row for “student1” etc is found, the column where his/her test1 grade is used to find the grade.
In this way, the same formula can be used for all students and for all types of assignments to populate the spreadsheet that Canvas exports and re-imports. I don’t have to enter individual grades back into Canvas, since my gradebook already has the data; I can just copy/paste the grades from the sheet shown in the captures into Canvas’s spreadsheet and then re-import to Canvas.
Any ideas on how to improve the formula? Any thoughts on which of the existing formulas/approaches is better? In terms of “better,” issues of extensibility come into play and affect of the formula on size of the file (probably not a big deal); I’m not too concerned about execution time since grades, once assigned, are not likely to change.
One thought that I had is to treat the various sheets like “tests & grades” as a giant lookup table, use that to find the proper row for the student and tell VLOOKUP to return the value from the appropriate column.
And if you want to know why I don’t just input my grades directly into Canvas, that’s for a different time (and not on this Lounge).
TIA.
Fred