Introduction to Spreadsheets

What is a Spreadsheet?

A spreadsheet is a rectangular table (or grid) of information. The first spreadsheets were bookkeeping ledgers -- with columns for categories of expenditures across the top, invoices listed down the left margin, and the amount of each payment in the cell where its row and column intersect -- "spread" across facing pages of a bound ledger (book for keeping accounting records).


A Simple Web-Based Spreadsheet

Here is an applet that supports very simple spreadsheet operations.

Points to note:


The html code that downloads and sets up the applet in a web page is as follows:

<APPLET codebase="http://www.intrepid.com/~robertl/spreadsheet1"
           code="spreadsheet.class" width="600" height="300">
<PARAM NAME="rows" VALUE="10">
<PARAM NAME="cols" VALUE="5">
<PARAM NAME="a1" VALUE="Item">
<PARAM NAME="b1" VALUE="Unit Price">
<PARAM NAME="c1" VALUE="Quantity">
<PARAM NAME="d1" VALUE="Discount (%)">
<PARAM NAME="e1" VALUE="Price">
<PARAM NAME="a3" VALUE="Peaches">
<PARAM NAME="b3" VALUE="4.20">
<PARAM NAME="a4" VALUE="Bananas">
<PARAM NAME="b4" VALUE="3.50">
<PARAM NAME="d3" VALUE="=If(Le(c3,50),0,If(Le(c3,100),10,20))">
<PARAM NAME="e3" VALUE="=c3*b3-b3*c3*d3/100">
<PARAM NAME="d4" VALUE="=If(Le(c4,50),0,If(Le(c4,100),10,20))">
<PARAM NAME="e4" VALUE="=c4*b4-b4*c4*d4/100">
<PARAM NAME="d6" VALUE="Total">
<PARAM NAME="e6" VALUE="=e3+e4">
</APPLET>

Points to note:


Spreadsheet Operation

Note. There are questions on this aspect of spreadsheet calculations in the EIT exams.


Cell Syntax and Builtin Functions

Cell Syntax

Mathematical Functions

Comparision functions

Boolean functions

Conditional functions


References