Spreadsheet basics#
LibreOffice Calc (file .ods), MS Excel (.xlsx). A workbook has worksheets; a worksheet has rows (numbers) and columns (letters). The intersection is a cell, named by its address (e.g. B3). The selected cell is the active cell; a group is a range (A1:C5).
Formulas and functions#
Formulas start with =: =A1+B1, =C2*D2, =B2/10. Operators: + − * / ^.
| Function | Example | Result |
|---|---|---|
| SUM | =SUM(A1:A5) | total |
| AVERAGE | =AVERAGE(B2:B10) | mean |
| MAX / MIN | =MAX(C1:C20) | highest / lowest |
| COUNT | =COUNT(A1:A10) | number of numeric cells |
Cell references#
- Relative (A1) - changes when copied.
- Absolute ($A$1) - stays fixed.
- Mixed ($A1 or A$1).
स्प्रेडशीट में पंक्तियाँ (1, 2, 3) और कॉलम (A, B, C) मिलकर सेल बनाते हैं, जैसे B3। सूत्र हमेशा = से शुरू होता है - =SUM(A1:A5) योग देता है, =AVERAGE() औसत। $A$1 निरपेक्ष (absolute) संदर्भ है जो कॉपी करने पर नहीं बदलता।
Practise the logic#
The same calculations can be done with SQL on the shop database:
Formatting, sorting and charts#
Number formats (currency, percentage, date), cell borders and colours, merge cells, wrap text; sort ascending/descending; filter; insert charts - column, bar, line, pie.
Exam tips#
- Write formulas for total, average and percentage of marks; identify relative vs absolute references.