File:  [LON-CAPA] / loncom / html / adm / help / tex / Spreadsheet_Functions.tex
Revision 1.7: download - view: text, annotated - select for diffs
Tue Oct 14 16:03:51 2003 UTC (20 years, 9 months ago) by www
Branches: MAIN
CVS tags: version_2_3_X, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, HEAD
Bug #2281: need to escape stuff!

    1: \label{Spreadsheet_Functions}
    2: The following special functions are available in the spreadsheet.
    3: Please see \textbf{Referencing Cells} (\ref{Spreadsheet_Referencing_Cells})
    4: for information on specifying cells and ranges.
    5: 
    6: \begin{itemize}
    7: 
    8: \item \texttt{\&NUM(range)} - number of non-empty cells in range
    9: \index{NUM}
   10: 
   11: \item \texttt{\&BIN(low, high, range)} - number of non-empty cells in
   12:   range with values between low and high
   13: \index{BIN}
   14: 
   15: \item \texttt{\&SUM(range)} - sum of the non-empty cells in range
   16: \index{SUM}
   17: 
   18: \item \texttt{\&MEAN(range)} - mean value of non-empty cells in range
   19: \index{MEAN}
   20: 
   21: \item \texttt{\&STDDEV(range)} - standard deviation of non-empty cells
   22:   in range 
   23: \index{STDDEV}
   24: 
   25: \item \texttt{\&PROD(range)} - product of non-empty cells in range
   26: \index{PROD}
   27: 
   28: \item \texttt{\&MAX(range)} - maximum value of non-empty cell in range
   29: \index{MAX}
   30: 
   31: \item \texttt{\&MIN(range)} - minimum value of non-empty cells in
   32:   range 
   33: \index{MIN}
   34: 
   35: \item \texttt{\&SUMMAX(n ,range)} - sum of the maximum n non-empty
   36:   cells in range
   37: \index{SUMMAX}
   38: 
   39: \item \texttt{\&SUMMIN(n, range)} - sum of the minimum n non-empty
   40:   cells in range
   41: \index{SUMMIN}
   42: 
   43: \item \texttt{\&EXT(expression)} - access to EXT function in lonnet.
   44: Use \&EXT(``system.time'') to retrieve the current time.
   45: \index{EXT}
   46: 
   47: \item \texttt{\&SUMSEQ(column,sequence1,sequence2,sequence3,...)} -
   48: sum the given column across the folders or sequences listed.  
   49: 
   50: When specifying a sequence use the full title.  Instead of a sequence title
   51: the word ``all'' can be used to sum over all sequences.  Regular expressions
   52: can be entered as well, if prefixed by ``regexp:''.  See below for examples.
   53: 
   54: \begin{itemize}
   55: 
   56: \item \texttt{\&SUMSEQ(``Z'',''Chapter 1'');}
   57: 
   58: \item \texttt{\&SUMSEQ(``Z'',''Chapter 1'',''Chapter 2'',''Chapter 3'');}
   59: 
   60: \item \texttt{\&SUMSEQ(``Z'',''all'');} - sum over all sequences.
   61: 
   62: \item \texttt{\&SUMSEQ(``Z'',''regexp:Large Biomolecules'');} -
   63:  sum over all sequences which match the regular expression 
   64: /Large Biomolecules/.
   65: 
   66: \end{itemize}
   67: 
   68: \end{itemize}
   69: 
   70: In addition, most non-IO Perl functions work in cells.

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