THyperSpreadsheet - BETA 1
Marley Software · Pablo Pissanetzky

Description

THyperSpreadsheet is a component derived from THyperGrid. It uses the included TCalculator class to add formula solving capabilities to the grid. See the document provided with TCalculator for more details. This component requires the THyperGrid Package, which you can download from Marley Software.

THyperSpreadsheet accepts ranges in its functions, similar to excel, a range is an identifier with a column part and a row part. The column part begins with A, which is treated as column 0. The row part is the row number, beginning with zero. So, A0 is cell [ 0,0 ] and B3 is cell [ 1,3 ]. A range can be a single cell or multiple cells separated by a colon (:). As in A0:B3.

In addition to the built-in functions provided by TCalculator, THyperSpreadsheet implements the following:

AVERAGE( Range )
Returns the average of the numbers in the given range. Empty cells are treated as zero.

SUM( Range )
Returns the sum of the numbers in the given range. Empty cells are treated as zero.

COUNT( Range )
Returns the number of cells in the given range, whether empty or not.

IF( Condition , True Result , False Result )
The IF functions evaluates the condition, and if it results in the string "True", returns the second argument, otherwise the Third.

Using TCalculator, THyperSpreadsheet's functions can be extended at heart's content.

See the sample project provided. Remember, this is a BETA release. And although full source is provided, I am not to be held responsible if this component breaks. Enjoy.
Please send comments.

Marley Software · Pablo Pissanetzky