Microsoft Excel 2010 - Level 3
© Watsonia Publishing Page 40 Labels And Names
UNDERSTANDING LABELS AND NAMES
Labels are used to refer to individual cells or
ranges of cells as an alternative to using cell
references. Names are more descriptive than
labels, but they serve the same purpose. For
example, in a formula that calculates profit, the
profit column’s formula may hold the formula
=Income-Expenses, which is more readable than
=E12-E9. Here are some other examples.
Labels
The term label usually refers to text that you have typed in a cell. If the text appears next to a continuous
list of values, Excel sees the label as a ‘tag’ that represents that range of values. The label can then be
used in formulas instead of direct cell references. If you have used numbers as ‘labels’, such as the year
2010, Excel allows you to define these as labels too. Note that labels can be used only within the same
worksheet.
Names
If you want to create a tag that refers to a range of cells holding values and text, or that you can use in
formulas on other worksheets, you need to create a Name.
Names are like labels except that the name has to be specified against a particular range, and does not
usually appear on the spreadsheet. Names can be used to refer to cells in other worksheets, in other
workbooks, and can even be used to represent a fixed value rather than a range of cells. For example, if
you need to use a constant value in your calculations, but don’t want the value to appear in the
worksheet in case it is accidentally changed, you can define a name and assign it a value. For example,
GST could represent the value 10%.
Need to Know…
There are two important rules to follow when creating Names:
1. You can only use letters of the alphabet, numbers or the underscore character ( _ ) in names.
Spaces and other special characters such as &, * or % are not allowed.
2. Names must not begin with a number. Use a letter or an underscore as the first character of your
name, for example, Year2008 or _2010.
Here the label Wages, typed originally in
A5, is being used in the formula in F5 to
refer to the range B5:E5.
Similarly, the label Qtr_1 could be used to
refer to the cells in the range B5:B8.
The name ExpenseTotals is being created
in the Name box to refer to the non-
contiguous ranges A5:A8 and F5:F8.
This name can be used to re-select the
ranges later, or to refer to the ranges from
another part of the workbook.