You are on page 1of 2

Spreadsheets

CS 101 • A simple yet powerful computational tool


• Programming model:
Lecture 26: Spreadsheets – A grid of cells, named a1, a2, …, b1, b2, …
– Each cell contains a value or an expression
– Expression depends on values of other cells
Timothy Gonsalves – Value of expression is recomputed
Dept of Computer Science & Engg automatically whenever referred cell changes
Dataflow paradigm
– First spreadsheet: Visicalc (early 1980s)
Widely used now: OpenOffice Calc
Microsoft Excel
TAG -- CSE Dept, IITM 1 TAG -- CSE Dept, IITM 2

Basics Basics
• Editing cells: • Copy and paste:
– Numbers: type digits – Adjusts cell references in formulae
– Text: type alphabets, or start with ‘ – Paste Special -- paste value not formula
– Formulae: start with = • Delete:
• Formatting cells: – Contents
– Data type and format – Cell(s) -- shifts adjacent cells
• number of decimal places • Protect -- contents cannot be changed
• Date format
• Workbook (file) consists of several sheets
– Font, colour, justification
– Formula can refer to cells in other sheets or
other workbooks

TAG -- CSE Dept, IITM 3 TAG -- CSE Dept, IITM 4


Tools Some Applications
• Sort -- a block of cells • Course marks and grades
– Ascending or descending • Financial accounts and budgets
– Selected column as sort key • Staff payroll
• Chart -- plot graph of a block of cells • Factory production
containing <x, y>
• Engineering computation
• Equation solver
• Project management
• Macros
• and many more …
– Keyboard (records your keystrokes)
– Basic programming language
An essential tool for tomorrow’s engineer!
TAG -- CSE Dept, IITM 5 TAG -- CSE Dept, IITM 6

You might also like