--- loncom/html/adm/help/tex/Spreadsheet_Functions.tex 2002/07/29 14:51:43 1.3
+++ loncom/html/adm/help/tex/Spreadsheet_Functions.tex 2003/09/18 20:12:39 1.5
@@ -1,5 +1,7 @@
\label{Spreadsheet_Functions}
-The following functions are available in the spreadsheet:
+The following special functions are available in the spreadsheet.
+Please see \textbf{Referencing Cells} (\ref{Spreadsheet_Referencing_Cells})
+for information on specifying cells and ranges.
\begin{itemize}
@@ -41,8 +43,27 @@ The following functions are available in
\item \texttt{\&EXT(expression)} - access to EXT function in lonnet
\index{EXT}
+\item \texttt{\&SUMSEQ(column,sequence1,sequence2,sequence3,...)} -
+sum the given column across the folders or sequences listed.
+
+When specifying a sequence use the full title. Instead of a sequence title
+the word ``all'' can be used to sum over all sequences. Regular expressions
+can be entered as well, if prefixed by ``regexp:''. See below for examples.
+
+\begin{itemize}
+
+\item \texttt{\&SUMSEQ(``Z'',''Chapter 1'');}
+
+\item \texttt{\&SUMSEQ(``Z'',''Chapter 1'',''Chapter 2'',''Chapter 3'');}
+
+\item \texttt{\&SUMSEQ(``Z'',''all'');} - sum over all sequences.
+
+\item \texttt{\&SUMSEQ(``Z'',''regexp:Large Biomolecules'');} -
+ sum over all sequences which match the regular expression
+/Large Biomolecules/.
+
+\end{itemize}
+
\end{itemize}
-In addition, non-IO Perl functions work in cells, which is internally
-evaluated within a safe space. Field names and Column-Row combinations
-can be used as variables.
\ No newline at end of file
+In addition, most non-IO Perl functions work in cells.