version 1.8, 2007/01/23 01:48:37
|
version 1.9, 2010/08/23 16:16:18
|
Line 1
|
Line 1
|
\label{Spreadsheet_Functions} |
\label{Spreadsheet_Functions} |
The following special functions are available in the spreadsheet. |
The following special functions are available in the spreadsheet. |
Please see \textbf{Referencing Cells} (\ref{Spreadsheet_Referencing_Cells}) |
Please see Referencing Cells (\ref{Spreadsheet_Referencing_Cells}) |
for information on specifying cells and ranges. |
for information on specifying cells and ranges. |
|
|
\begin{itemize} |
\begin{itemize} |
Line 32 for information on specifying cells and
|
Line 32 for information on specifying cells and
|
range |
range |
\index{MIN} |
\index{MIN} |
|
|
\item \texttt{\&SUMMAX(n ,range)} - sum of the maximum n non-empty |
\item \texttt{\&SUMMAX(n ,range)} - sum of the maximum $n$ non-empty |
cells in range |
cells in range |
\index{SUMMAX} |
\index{SUMMAX} |
|
|
\item \texttt{\&SUMMIN(n, range)} - sum of the minimum n non-empty |
\item \texttt{\&SUMMIN(n, range)} - sum of the minimum $n$ non-empty |
cells in range |
cells in range |
\index{SUMMIN} |
\index{SUMMIN} |
|
|
\item \texttt{\&EXT(expression)} - access to EXT function in lonnet. |
\item \texttt{\&EXT(expression)} - access to EXT function in lonnet. |
Use \&EXT(``system.time'') to retrieve the current time. |
Use \texttt{\&EXT('system.time')} to retrieve the current time. |
\index{EXT} |
\index{EXT} |
|
|
\item \texttt{\&PARM(parameter)} - get the value of a specific parameter |
\item \texttt{\&PARM(parameter)} - get the value of a specific parameter |
Line 54 matches the expression that is the small
|
Line 54 matches the expression that is the small
|
|
|
\item \texttt{\&MAXPARM(expression)} - get the value of a parameter that |
\item \texttt{\&MAXPARM(expression)} - get the value of a parameter that |
matches the expression that is the largest in value (If one specified |
matches the expression that is the largest in value (If one specified |
'opendata' it would return the largest opendate set on the problem.) |
'opendate' it would return the largest opendate set on the problem.) |
\index{MAXPARM} |
\index{MAXPARM} |
|
|
\item \texttt{\&SUMSEQ(column,sequence1,sequence2,sequence3,...)} - |
\item \texttt{\&SUMSEQ(column,sequence1,sequence2,sequence3,...)} - |
sum the given column across the folders or sequences listed. |
sum the given column across the folders or sequences listed. |
|
|
When specifying a sequence use the full title. Instead of a sequence title |
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 |
the word \texttt{all} can be used to sum over all sequences. Regular expressions |
can be entered as well, if prefixed by ``regexp:''. See below for examples. |
can be entered as well, if prefixed by \texttt{regexp:}. See below for examples. |
|
|
\begin{itemize} |
\begin{itemize} |
|
|
\item \texttt{\&SUMSEQ(``Z'',''Chapter 1'');} |
\item \texttt{\&SUMSEQ('Z','Chapter 1');} |
|
|
\item \texttt{\&SUMSEQ(``Z'',''Chapter 1'',''Chapter 2'',''Chapter 3'');} |
\item \texttt{\&SUMSEQ('Z','Chapter 1','Chapter 2','Chapter 3');} |
|
|
\item \texttt{\&SUMSEQ(``Z'',''all'');} - sum over all sequences. |
\item \texttt{\&SUMSEQ('Z','all');} - sum over all sequences. |
|
|
\item \texttt{\&SUMSEQ(``Z'',''regexp:Large Biomolecules'');} - |
\item \texttt{\&SUMSEQ('Z','regexp:Large Biomolecules');} - |
sum over all sequences which match the regular expression |
sum over all sequences which match the regular expression |
/Large Biomolecules/. |
/Large Biomolecules/. |
|
|