1.1.1 Opening & Closing Calc 1.1.1
LibreOffice Calc is a free, open-source spreadsheet application โ the Alin Li alternative to Microsoft Excel! It organizes data in rows and columns of cells.
Open: Application Menu โ search "LibreOffice Calc" โ click to open. Or double-click any .ods / .xlsx file.
Close: Ctrl + W (close file) or Ctrl + Q (close app). Click โ button.
1.1.2โ1.1.4 Creating & Saving 1.1.2โ1.1.4
| Action | How | Shortcut |
|---|---|---|
| New from template | File โ New โ Templates | โ |
| Save | File โ Save | Ctrl + S |
| Save As (new name/format) | File โ Save As | Ctrl + Shift + S |
File formats:
| Format | Extension | When to Use |
|---|---|---|
| Open Document Spreadsheet | .ods | Default โ open standard. Always use! |
| Microsoft Excel | .xlsx | Sharing with Excel users |
| CSV (Comma Separated) | .csv | Plain data โ no formatting, used for data exchange |
.pdf | Read-only printed version | |
| Plain Text | .txt | Text only, tab-separated |
1.1.5 Switching Between Spreadsheets 1.1.5
Use Window menu to see all open spreadsheets, or Alt + Tab to switch windows.
1.2 Enhancing Productivity 1.2
| Feature | How | Shortcut |
|---|---|---|
| Preferences | Tools โ Options โ LibreOffice โ Paths / User Data | โ |
| Help | Help โ LibreOffice Help | F1 |
| Zoom | Slider (bottom-right) or View โ Zoom | Ctrl + Scroll |
| Show/hide toolbars | View โ Toolbars โ check/uncheck | โ |
| Go to a cell | Click the Name Box (left of formula bar) โ type cell address โ Enter | Ctrl + G or F5 |
| Go to beginning | โ | Ctrl + Home |
| Go to last used cell | โ | Ctrl + End |
2.1.1โ2.1.2 Cell Rules & Good Practice 2.1.1โ2.1.2
Rule #2 โ Good lists: Avoid blank rows/columns in the middle of a data list. Ensure cells surrounding the list are blank. This helps Calc correctly detect the data range for sorting, filtering, and charts.
2.1.3 Entering Data 2.1.3
Click a cell and type. Calc recognises three data types:
| Type | Alignment | Examples |
|---|---|---|
| Numbers | Right-aligned automatically | 42, 3.14, -100, 1500 |
| Text (Labels) | Left-aligned automatically | Name, Total, January |
| Dates | Right-aligned | 15/03/2025, 2025-03-15 |
Press Enter to confirm and move down. Press Tab to confirm and move right.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Student | Math | Science | Average |
| 2 | Sara | 85 | 92 | =AVERAGE(B2:C2) |
| 3 | Ahmed | 78 | 88 | =AVERAGE(B3:C3) |
| 4 | Lina | 95 | 90 | =AVERAGE(B4:C4) |
2.1.4 Selecting Cells 2.1.4
| Select | How |
|---|---|
| Single cell | Click it |
| Adjacent range (e.g., A1:C5) | Click first cell โ drag to last cell, OR click first โ Shift + click last |
| Non-adjacent cells | Select first range โ hold Ctrl โ select additional ranges |
| Entire row | Click the row number (1, 2, 3...) |
| Entire column | Click the column letter (A, B, C...) |
| Entire worksheet | Click the box at the intersection of row/column headers, or Ctrl + A |
2.2 Editing & Sorting 2.2
Edit a cell: Double-click it (or press F2) to enter edit mode. Change content โ press Enter.
Undo / Redo: Ctrl + Z / Ctrl + Y
Find & Replace: Ctrl + H โ works the same as in Writer.
Sort data: Select your data range โ Data โ Sort โ choose column to sort by โ ascending (AโZ, 1โ9) or descending (ZโA, 9โ1).
2.3 Copy, Move, Delete & AutoFill 2.3
| Action | How |
|---|---|
| Copy cells | Select โ Ctrl + C โ click destination โ Ctrl + V |
| Move cells | Select โ Ctrl + X โ click destination โ Ctrl + V |
| Delete contents | Select โ press Delete key |
| Copy between worksheets | Copy โ click target sheet tab โ paste |
| Copy between files | Copy โ switch to other spreadsheet window โ paste |
2.3.2 The AutoFill Handle 2.3.2
The AutoFill handle is the small square at the bottom-right corner of a selected cell. Drag it to:
3.1.1โ3.1.2 Selecting Rows & Columns 3.1
| Select | How |
|---|---|
| One row | Click the row number |
| Adjacent rows | Click first row number โ Shift + click last |
| Non-adjacent rows | Click first row โ Ctrl + click other rows |
| One column | Click the column letter |
| Adjacent columns | Click first column โ Shift + click last |
| Non-adjacent columns | Click first column โ Ctrl + click others |
3.1.3โ3.1.5 Rows & Columns Operations 3.1.3โ3.1.5
| Action | How |
|---|---|
| Insert row/column | Right-click row/column header โ Insert Rows Above/Below or Columns Left/Right |
| Delete row/column | Right-click โ Delete Rows / Delete Columns |
| Change column width | Drag the column border in the header, or right-click โ Column Width โ enter value |
| Optimal width | Double-click the column border โ auto-fits to content! |
| Change row height | Drag row border, or right-click โ Row Height |
| Freeze rows/columns | Click below & right of what to freeze โ View โ Freeze Rows and Columns |
3.2 Working with Worksheets 3.2
A spreadsheet file can contain multiple worksheets (sheets) โ shown as tabs at the bottom.
| Action | How |
|---|---|
| Switch sheets | Click the sheet tab at the bottom |
| Insert new sheet | Right-click a tab โ Insert Sheet, or click the + button |
| Delete sheet | Right-click tab โ Delete Sheet (โ ๏ธ can't undo!) |
| Rename sheet | Double-click the tab โ type new name โ Enter |
| Move/copy sheet | Right-click tab โ Move/Copy Sheet โ choose destination |
4.1.1 Good Practice: Use Cell References! 4.1.1
โ
=A1*B1 โ if A1 or B1 changes, the formula updates automatically!โ
=5*10 โ if data changes, you must manually re-type the formula.4.1.2 Arithmetic Formulas 4.1.2
Every formula starts with = (equals sign). Then use cell references and operators:
| Operator | Meaning | Example | Result (if A1=10, B1=3) |
|---|---|---|---|
+ | Addition | =A1+B1 | 13 |
- | Subtraction | =A1-B1 | 7 |
* | Multiplication | =A1*B1 | 30 |
/ | Division | =A1/B1 | 3.33 |
| A | B | C | |
|---|---|---|---|
| 1 | Item | Price | Qty |
| 2 | Notebook | 5.50 | 3 |
| 3 | Pen | 1.20 | 10 |
| 4 | Total Cost: | =B2*C2+B3*C3 โ 28.50 | |
4.1.3 Common Error Values 4.1.3
| Error | Meaning | Common Cause |
|---|---|---|
#NAME? | Calc doesn't recognise the name | Misspelled function name (e.g., SUMM instead of SUM) |
#DIV/0! | Division by zero | A formula divides by a cell that contains 0 or is empty |
#REF! | Invalid cell reference | A referenced cell was deleted |
#VALUE! | Wrong type of value | Using text where a number is expected (e.g., =5+"hello") |
4.1.4 Relative vs. Absolute References 4.1.4
A1): Changes when you copy the formula. If you copy =A1+B1 down one row, it becomes =A2+B2. This is the default and usually what you want!Absolute reference (e.g.,
$A$1): Does NOT change when copied. The $ locks the row and/or column. Use when referring to a fixed cell like a tax rate.Mixed:
$A1 locks column A only. A$1 locks row 1 only.
4.2.1 Essential Functions 4.2.1
| Function | What It Does | Example | Result |
|---|---|---|---|
=SUM() | Adds all numbers | =SUM(A1:A5) | Total of A1 through A5 |
=AVERAGE() | Calculates the mean | =AVERAGE(B1:B10) | Average of the 10 values |
=MIN() | Finds the smallest number | =MIN(C1:C20) | Lowest value |
=MAX() | Finds the largest number | =MAX(C1:C20) | Highest value |
=COUNT() | Counts cells with numbers | =COUNT(A1:A100) | How many numbers |
=COUNTA() | Counts cells that aren't empty | =COUNTA(A1:A100) | How many non-empty cells |
=ROUND() | Rounds to specified decimals | =ROUND(3.14159, 2) | 3.14 |
4.2.2 The IF Function 4.2.2
The IF function makes decisions! It tests a condition and returns one value if TRUE, another if FALSE:
=IF(condition, value_if_true, value_if_false)| Example | What It Does |
|---|---|
=IF(A1>=50, "Pass", "Fail") | If A1 is 50 or more โ "Pass", otherwise โ "Fail" |
=IF(B2>100, B2*0.9, B2) | If B2 > 100 โ apply 10% discount, otherwise keep original |
=IF(C3=0, "Empty", C3) | If C3 is 0 โ show "Empty", otherwise show the value |
Comparison operators: = (equals), > (greater than), < (less than), >= (greater or equal), <= (less or equal), <> (not equal).
๐ฎ Activity: Match the Function!
5.1 Number & Date Formatting 5.1
Select cells โ Format โ Cells โ Numbers tab (or Ctrl + 1):
| Format | Example Input | Displayed As |
|---|---|---|
| Decimal places (2) | 3.5 | 3.50 |
| Thousands separator | 1500000 | 1,500,000 |
| Currency | 25 | $25.00 or 25.00 QAR |
| Percentage | 0.75 | 75% |
| Date | 45365 | 15/03/2024 (or other date style) |
5.2 Text & Cell Formatting 5.2
| Format | How | Shortcut |
|---|---|---|
| Font size / type | Formatting toolbar dropdowns | โ |
| Bold | Toolbar button | Ctrl + B |
| Italic | Toolbar button | Ctrl + I |
| Underline | Toolbar button | Ctrl + U |
| Double underline | Format โ Cells โ Font Effects | โ |
| Font colour | Font Color dropdown on toolbar | โ |
| Cell background colour | Highlighting dropdown on toolbar | โ |
| AutoFormat / Table style | Select range โ Format โ AutoFormat Styles | โ |
| Copy formatting | Clone Formatting button (paintbrush ๐๏ธ) | โ |
5.3 Alignment, Wrapping, Merge & Borders 5.3
| Feature | What It Does | Where |
|---|---|---|
| Text wrapping | Long text wraps inside the cell instead of overflowing | Format โ Cells โ Alignment โ Wrap text โ |
| Horizontal align | Left, Centre, Right | Formatting toolbar alignment buttons |
| Vertical align | Top, Middle, Bottom | Format โ Cells โ Alignment |
| Orientation | Rotate text to any angle (e.g., 45ยฐ for headers) | Format โ Cells โ Alignment โ degrees |
| Merge cells | Combine multiple cells into one big cell (for titles) | Format โ Merge Cells โ Merge and Center |
| Unmerge | Split a merged cell back | Format โ Merge Cells โ Unmerge |
| Borders | Add lines around cells (style, width, colour) | Format โ Cells โ Borders tab, or Borders dropdown on toolbar |
6.1.1 Chart Types 6.1.1
6.1.2โ6.1.5 Creating & Managing Charts 6.1.2โ6.1.5
- Select your data (including headers)
- Go to Insert โ Chart
- Choose chart type (Column, Bar, Line, Pie)
- Adjust data range and series if needed
- Add a title โ click Finish
Select chart: Click on it (handles appear). Move: Drag. Resize: Drag corner handles. Delete: Select โ Delete. Change type: Double-click chart โ right-click โ Chart Type.
6.2 Editing Charts 6.2
Double-click the chart to enter edit mode, then right-click for options:
| Edit | How |
|---|---|
| Add/edit chart title | Insert โ Title, or click existing title to edit |
| Add/remove legend | Insert โ Legend, or right-click legend โ Delete |
| Add data labels (values/percentages) | Click data series โ Insert โ Data Labels โ choose Values or Percentages |
| Change background colour | Right-click chart area โ Format Chart Area โ Area tab |
| Change legend colour | Right-click legend โ Format Legend โ Area tab |
| Change bar/line/slice colours | Click a bar/slice โ right-click โ Format Data Point โ Area tab |
| Change font size/colour of title, axes, legend | Click the element โ right-click โ Format โ Character tab |
7.1 Page Setup 7.1
Go to Format โ Page Style:
| Setting | Where | Options |
|---|---|---|
| Margins | Page tab โ Margins | Top, Bottom, Left, Right (in cm) |
| Orientation | Page tab | Portrait / Landscape |
| Paper size | Page tab โ Format | A4, Letter, etc. |
| Scale to fit pages | Sheet tab โ Scale โ Fit to number of pages | Shrink/stretch to fit X pages wide by Y tall |
| Headers/Footers | Header/Footer tabs | Enable, add text, page numbers, date, file name, sheet name |
7.2 Check & Print 7.2
| Action | How |
|---|---|
| Spell check | Tools โ Spelling (F7) โ works like Writer |
| Show/hide gridlines for print | Format โ Page Style โ Sheet tab โ Print โ Grid โ /โ |
| Show/hide row & column headers | Same Sheet tab โ Print โ Column & Row headers โ /โ |
| Print title rows on every page | Format โ Print Ranges โ Edit โ Rows to repeat โ select your header row (e.g., $1) |
| Print Preview | File โ Print Preview (Ctrl + Shift + J) |
| Print worksheet | Ctrl + P โ choose All sheets / Active sheets / Selection |
| Print selected cells only | Select range โ File โ Print โ Selection option |
| Print a chart only | Select the chart โ Ctrl + P |
| Number of copies | Set in Print dialog |
Alin Li ICDL Academy โ Spreadsheets with LibreOffice Calc