What is Computer

Module: M1-R5: Information Technology Tools and Network Basics

Chapter: Ch1 Computer Intro

🔹 Introduction

In LibreOffice Calc, cell references are used to identify the location of data in formulas and functions. When a formula refers to another cell, it automatically updates its result when the value in the referenced cell changes. Understanding cell references is crucial for efficient and dynamic spreadsheet creation.

1️⃣ What is a Cell Reference?

A cell reference identifies a cell by combining its column letter and row number. For example, A1 refers to the cell at Column A and Row 1.

  • Cell references are used in formulas like =A1+B1.
  • When formulas are copied, references can change depending on their type.
2️⃣ Types of Cell References

There are three main types of cell references in LibreOffice Calc:

🅰️ Relative Reference
  • Changes automatically when a formula is copied or filled to another cell.
  • This is the default behavior in Calc.
  • Example: =A1+B1 copied from row 1 to row 2 becomes =A2+B2.
💠 Absolute Reference
  • Remains fixed when copied or filled to other cells.
  • Use the $ symbol before the column and row to make it absolute.
  • Example: =$A$1+$B$1 → always refers to A1 and B1, even if copied.
⚙️ Mixed Reference
  • Locks either the row or the column, not both.
  • Examples:
    • =$A1 → Column A fixed, row changes.
    • =A$1 → Row 1 fixed, column changes.
3️⃣ Practical Examples

Let’s explore practical examples that demonstrate how each reference behaves when formulas are copied.

Example Formula Type Copied To Resulting Formula Explanation
=A1+B1 Relative Copied to C2 =A2+B2 Both column and row references change automatically.
=$A$1+$B$1 Absolute Copied to C2 =$A$1+$B$1 Both column and row references remain fixed.
=$A1+B$1 Mixed Copied to C2 =$A2+B$1 Column A remains fixed; Row 1 in B$1 stays fixed.
=A$1*$B2 Mixed Copied to D3 =B$1*$B3 Row 1 fixed for A$1; Column B fixed for $B2.
4️⃣ Example Scenario – Calculating Tax

Suppose you have a fixed tax rate in cell D1 (e.g., 18%). You want to calculate the total price for multiple items using the formula:

=B2*(1+$D$1)
  • Here, B2 is the price of the item (relative reference).
  • $D$1 is the fixed tax rate (absolute reference).
  • When you copy the formula down, only B2 changes, not $D$1.
5️⃣ Shortcut to Change Reference Type

While editing a formula, press F4 after selecting a cell reference to cycle through:

  • A1 → Relative
  • $A$1 → Absolute
  • A$1 → Row fixed
  • $A1 → Column fixed
6️⃣ Summary Notes
  • Relative References are best for formulas applied to multiple rows or columns.
  • Absolute References are used for constants, fixed values, or rates.
  • Mixed References help when you want partial locking in structured data tables.
Conclusion

Understanding and using the right type of cell reference saves time, avoids errors, and ensures formulas remain accurate even after copying or moving them. Proper use of relative, absolute, and mixed references makes spreadsheets more efficient and adaptable.

Quick Links