File:  [LON-CAPA] / loncom / html / adm / help / tex / Spreadsheet_Functions.tex
Revision 1.3: download - view: text, annotated - select for diffs
Mon Jul 29 14:51:43 2002 UTC (21 years, 11 months ago) by bowersj2
Branches: MAIN
CVS tags: version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, version_0_6_2, version_0_6, version_0_5_1, version_0_5, conference_2003, HEAD
Added index tags, fixed irrelevant bug in author.manual.texxml, created
spreadsheet.manual.texxml .

\label{Spreadsheet_Functions}
The following functions are available in the spreadsheet:

\begin{itemize}

\item \texttt{\&NUM(range)} - number of non-empty cells in range
\index{NUM}

\item \texttt{\&BIN(low, high, range)} - number of non-empty cells in
  range with values between low and high
\index{BIN}

\item \texttt{\&SUM(range)} - sum of the non-empty cells in range
\index{SUM}

\item \texttt{\&MEAN(range)} - mean value of non-empty cells in range
\index{MEAN}

\item \texttt{\&STDDEV(range)} - standard deviation of non-empty cells
  in range 
\index{STDDEV}

\item \texttt{\&PROD(range)} - product of non-empty cells in range
\index{PROD}

\item \texttt{\&MAX(range)} - maximum value of non-empty cell in range
\index{MAX}

\item \texttt{\&MIN(range)} - minimum value of non-empty cells in
  range 
\index{MIN}

\item \texttt{\&SUMMAX(n ,range)} - sum of the maximum n non-empty
  cells in range
\index{SUMMAX}

\item \texttt{\&SUMMIN(n, range)} - sum of the minimum n non-empty
  cells in range
\index{SUMMIN}

\item \texttt{\&EXT(expression)} - access to EXT function in lonnet
\index{EXT}

\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.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>