\label{Spreadsheet_Calculation} The total number of spreadsheets in course can be tremendous, since it is the number of students times the number of assessments. LON-CAPA caches these sheets and only selectively invalidates those cache copies if potentially relevant data changes. The automatic spreadsheet devalidation catches student submissions, \textbf{PAR}a\textbf{M}eter changes, and spreadsheet changes, but not re-publication of a problem resource. \textbf{Spreadsheet\_Max\_Depth\_Exceeded} The ``Maximum Calculation Depth Exceeded''\index{Maximum Calculation Depth Exceeded error} error can occur when you reference other cells in calculations. For example, if you have: \texttt{G0 = Some\_complicated\_expression\\ X0 = G0>2?1:0} Try replacing \texttt{X0}'s contents with \texttt{[ (Some\_complicated\_expression) > 2]?1:0}. In other words, replace the reference to \texttt{G0} with the actual contents of \texttt{G0}. That might fix your error by removing one level of indirection that LON-CAPA must process in order to compute the result.