More Skills 12 Use Range Names in Formulas

CHAPTER 1
Excel
More Skills 12 Use Range Names in Formulas
䉴
In Excel, a name is a word that represents a cell or a range of cells that can be used as a cell or
range reference. Names used in formulas and functions clarify the meaning of the formula and
assist in navigating large worksheets. Spaces are not allowed as part of a name.
䉴
A name should be distinctive and easy to remember and should define the purpose of the
selected cell or range.
䉴
When a workbook contains several names, the Name Manager can be used to create, edit, and
organize the names.
To complete this workbook, you will need the following file:
䊏 e01_Rentals
You will save your workbook as:
䊏 Lastname_Firstname_e01_Rentals
1.
Start
Excel. From your student data files, open e01_Rentals. Save the workbook in your
Excel Chapter 1 folder as Lastname_Firstname_e01_Rentals
2.
Add the file name to the left footer, and then return to Normal view.
3.
Select the range B5:B10, and then to the left of the formula bar, click in the Name Box to
select the current value B5 as shown in Figure 1.
Value in
Name Box
selected
B5:B10 selected
Figure 1
Create Workbooks with Excel 2010 | Microsoft Excel Chapter 1
From Skills for Success with Microsoft® Excel 2010 Comprehensive
More Skills: SKILL 12 | Page 1 of 7
Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.
4.
In the Name Box, type Golf to replace the highlighted cell reference, and then press J.
Compare your screen with Figure 2.
You can assign names by selecting a cell or range and then typing the desired name in
the Name Box. Here, the name Golf has been assigned to the range B5:B10, which are
the values that represent the Golf rental income in various locations.
Name in
Name Box
Figure 2
Create Workbooks with Excel 2010 | Microsoft Excel Chapter 1
From Skills for Success with Microsoft® Excel 2010 Comprehensive
More Skills: SKILL 12 | Page 2 of 7
Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.
5.
Select the range C4:C10, and then on the Formulas tab, in the Defined Names group, click
Create from Selection.
6.
In the Create Names from Selection dialog box, if necessary, select the Top row check box,
clear the other check boxes, and then click OK.
The Create Names from Selection dialog box can assign a name using the label for the
selected range. Here, the range C5:C10 has been named Tennis, which is the column
label of the selected range.
7.
Select the range D5:D10, and then in the Defined Names group, click the Define Name
button. Compare your screen with Figure 3.
In the New Name dialog box, Cycling is suggested as the name. The Refers to box
references both the worksheet—June 2012—and the cell range—D5:D10.
Refers to range
Figure 3
8.
Click OK to name the range Cycling. Using any of the three techniques that you just
practiced, name the range E5:E10 as Boating
Create Workbooks with Excel 2010 | Microsoft Excel Chapter 1
From Skills for Success with Microsoft® Excel 2010 Comprehensive
More Skills: SKILL 12 | Page 3 of 7
Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.
9.
Click the Name Box arrow to display all the names in the workbook as shown in Figure 4.
Name Box arrow
List of names
Figure 4
10.
In the displayed list of names, click Golf to select the range B5:B10.
You can click each name and look at the selected range to verify the name has been
applied to the correct range.
11.
Click cell B11, type =SUM(Golf) and then press F for a result of $230,053.
In this manner, you can use names in functions as cell references.
Create Workbooks with Excel 2010 | Microsoft Excel Chapter 1
From Skills for Success with Microsoft® Excel 2010 Comprehensive
More Skills: SKILL 12 | Page 4 of 7
Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.
12.
In cell C11, type =SUM(T In the displayed Formula AutoComplete list, scroll down to
display the name Tennis as shown in Figure 5.
Tennis name
in Formula
AutoComplete list
Figure 5
13.
In the Formula AutoComplete list, double-click Tennis, and then press F for a result of
$92,483.
14.
With cell D11 active, on the Formulas tab, in the Function Library group, click the
AutoSum button.
When a name is available, AutoSum will insert that name as the cell reference. Here,
=SUM(Cycling).
15.
Press F, and then in cell E11, use any of the previous techniques to enter the SUM
function to add the Boating range, and then press J.
16.
In cell D13, type =SUM(Golf,Tennis) and press J for a result of $322,536.
In this manner, you can add multiple ranges using names as cell references.
17.
In cell D14, type =SUM(G and then from the displayed Formula AutoComplete list,
double-click Golf. Type a comma, and then type Cy From the displayed Formula
AutoComplete list, double-click Cycling. Press J for a result of $387,320.
18.
In cell D15, type =SUM( On the Formulas tab, in the Defined Names group, click the Use
in Formula button. On the list, click Golf. Type a comma, and then click the Use in
Formula button. Click Boating, and then press J for a result of $325,028.
Create Workbooks with Excel 2010 | Microsoft Excel Chapter 1
From Skills for Success with Microsoft® Excel 2010 Comprehensive
More Skills: SKILL 12 | Page 5 of 7
Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.
19.
In the cells D16:D20, use any of the techniques that you just practiced to construct the
remaining formulas using named ranges in each formula. When you are done, select
cell D20, and then compare your screen with Figure 6.
SUM function
using names
Figure 6
Create Workbooks with Excel 2010 | Microsoft Excel Chapter 1
From Skills for Success with Microsoft® Excel 2010 Comprehensive
More Skills: SKILL 12 | Page 6 of 7
Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.
20.
In the Defined Names group, click the Name Manager button. In the Name Manager
dialog box, click the Golf name, and then click the Edit button. In the Edit Name dialog
box, in the Name box, type Golfing and then click OK. Compare your screen with Figure 7.
Golfing name
Figure 7
21.
In the Name Manager dialog box, click the Close button. Click cell B11, and verify in the
function that the name Golf has been changed to Golfing.
Editing a name using the Name Manager dialog box changes all occurrences of the
name throughout the workbook.
22.
Save the workbook. Print or submit the file as directed by your instructor. Exit Excel.
䊏
You have completed More Skills 12
Create Workbooks with Excel 2010 | Microsoft Excel Chapter 1
From Skills for Success with Microsoft® Excel 2010 Comprehensive
More Skills: SKILL 12 | Page 7 of 7
Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.