Be able to use named cells and named ranges

ICT 0417 – Spreadsheets: Named Cells and Named Ranges

Spreadsheets – Using Named Cells and Named Ranges

1. What are Named Cells and Named Ranges?

A named cell is a single cell that is given a descriptive name (e.g., TaxRate) instead of being referred to by its address (e.g., B2).

A named range is a group of contiguous cells that share a single name (e.g., Sales2024).

2. Why Use Names?

  • Make formulas easier to read and understand.
  • Reduce errors caused by incorrect cell references.
  • Allow the same name to be used on different worksheets without conflict.
  • Facilitate quick navigation to important data.

3. Creating a Named Cell

  1. Select the cell you wish to name.
  2. Go to the Name Box (the field left of the formula bar).
  3. Type the desired name (e.g., InterestRate) and press Enter.
  4. The name now appears in the Name Box and can be used in formulas.

4. Creating a Named Range

  1. Select the range of cells you want to name.
  2. Choose Formulas ► Define Name (or use the shortcut Ctrl+F3 then New).
  3. In the dialog box, enter a meaningful name (e.g., QuarterlySales).
  4. Confirm the scope (Workbook or specific Worksheet) and click OK.

5. Using Names in Formulas

Once a name is defined, you can substitute it for a cell address in any formula.

Example:

$$\text{TotalCost} = \text{Quantity} \times \text{UnitPrice}$$

In a spreadsheet this becomes:

=Quantity * UnitPrice

If Quantity is cell A2 and UnitPrice is cell B2, the formula will still work even if the cells are moved.

6. Managing Names (Name Manager)

  • Open Formulas ► Name Manager to view, edit, or delete names.
  • Use the Refers to field to change the cell or range a name points to.
  • Check the Scope column to see whether a name is workbook‑wide or sheet‑specific.

7. Common Mistakes to Avoid

  • Using spaces or special characters in names – only letters, numbers, and underscores are allowed.
  • Starting a name with a number – names must begin with a letter or underscore.
  • Creating duplicate names within the same scope.
  • Forgetting to update a name after inserting or deleting rows/columns that affect the referenced range.

8. Keyboard Shortcuts Summary

Action Shortcut Result
Define a new name Ctrl + F3, then New Opens the New Name dialog.
Open Name Manager Ctrl + F3 Displays all defined names.
Enter name in Name Box Click Name Box, type name, Enter Creates a named cell instantly.

9. Suggested Practice Activity

  1. Create a simple budget worksheet with the following headings: Item, Cost, Quantity, Total.
  2. Name the cell containing the tax rate as TaxRate.
  3. Name the range of all Cost cells as CostList.
  4. In the Total column, use the formula =Cost * Quantity.
  5. Below the table, calculate GrandTotal = SUM(CostList) and then GrandTotalWithTax = GrandTotal * (1 + TaxRate).
  6. Use the Name Manager to change TaxRate from 0.20 to 0.18 and observe the automatic update.
Suggested diagram: Flow of creating a named range and using it in a formula.

10. Quick Reference Checklist

  • Names contain only letters, numbers, and underscores.
  • Names start with a letter or underscore.
  • Keep names short but descriptive.
  • Check scope – workbook vs. worksheet.
  • Update names after structural changes.