Chapter 4: Spreadsheet
Mastering Spreadsheets & Data Modeling
Spreadsheets organize data into dynamic grids of rows and columns, enabling automated mathematical calculations, visual reporting, statistical lookups, and "What-If" quantitative scenario analysis.

Introduction to Spreadsheet
- Grid Structure: Composed of horizontal Rows (numbered 1, 2, 3...) and vertical Columns (lettered A, B, C...).
- Worksheet vs. Workbook: A single page is a Worksheet; a file containing multiple worksheets is a Workbook.
- Cell & Cell Range: The intersection of a row and column is a Cell (e.g.,
B4). A rectangular block of cells is a Range (e.g.,A1:C10). - Primary Applications: Financial budgeting, statistical computation, data visualization, and financial forecasting.
Data Entry & Formatting
- Data Types: Text (Labels - aligned left), Numbers (Values - aligned right), Date/Time, and Formulas.
- Number Formatting: Currency (
$ / HKD), Percentage (%), Decimal Places, and Scientific Notation. - AutoFill / Fill Handle: Dragging the small square in the bottom-right corner of a cell automatically extends sequences (e.g., Jan, Feb, Mar or 1, 2, 3) or copies formulas.
- Data Validation: Restricts cell entries to valid criteria (e.g., whole numbers between 0 and 100).
Formulas & Operators
- Syntax Rule: All formulas MUST begin with an equals sign (
=). E.g.,=A1 + B1. - Arithmetic Operators:
+(Add),-(Subtract),*(Multiply),/(Divide),^(Exponentiation). - Comparison Operators:
=,>,<,>=,<=,<>(Not equal). - Precedence Order (BODMAS): Parentheses
()> Exponents^> Multiplication/Division*/> Addition/Subtraction+-.
Built-in Functions
Predefined formulas that take arguments and return calculated results:
SUM / AVERAGE / MAX / MIN: Basic statistics over ranges.
COUNT vs COUNTA: COUNT counts numbers only; COUNTA counts non-empty cells.
COUNTIF / SUMIF: Performs conditional counting/summation (e.g., =COUNTIF(A1:A10, ">50")).
IF(logical_test, value_if_true, value_if_false): Conditional evaluation.
VLOOKUP(lookup_val, table_array, col_idx, [range_lookup]): Vertical lookup table search.
Cell Addressing & References
A1): Automatically adjusts row/column offsets when copied to another cell.$A$1): Locks both column and row so the reference remains fixed when copied.$A1 or A$1): Locks either the column OR the row independently.Manipulation & Presentation
- Sorting: Rearranging rows in Ascending (A-Z, 0-9) or Descending order across single or multiple keys.
- Filtering (AutoFilter): Displaying only rows that meet defined criteria while hiding non-matching rows.
- Conditional Formatting: Dynamically applies cell colors, data bars, or icons based on specified value thresholds.
- Chart Selection:
- • Bar / Column: Comparing values across distinct categories.
- • Line Chart: Showing continuous trends over time.
- • Pie Chart: Representing proportions/percentages of a whole.
Data Analysis: What-If & Pivot Tables
💡 What-If Scenario Analysis
Testing how changes in input values affect calculated formula outputs.
- Goal Seek: Adjusts a single specified input cell automatically until a formula reaches a desired target value.
- Scenario Manager: Saves multiple sets of input parameters to compare named scenarios (e.g., Best Case vs. Worst Case).
📊 Pivot Tables
An interactive summary tool that dynamically aggregates, groups, filters, and cross-tabulates large volumes of data without altering the original dataset.
📊 Spreadsheet Formula Arena
| # | A (Item) | B (Price) | C (Qty) | D (Total) |
|---|---|---|---|---|
| 1 | Laptop | $8,000 | 2 | ? |
| 2 | Mouse | $150 | 5 | ? |
| 3 | DISCOUNT RATE (Cell B3): 10% | SUM: | ? | |
Loading challenge...