18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Part II<br />

Working with Formulas and Functions<br />

FIGURE 11.16<br />

Excel lets you give a name to a formula that doesn’t exist in a worksheet cell.<br />

When you use the name MonthlyRate in a formula, it uses the value in B1 divided by 12. Notice that the<br />

cell reference is an absolute reference.<br />

Naming formulas gets more interesting when you use relative references rather than absolute references.<br />

When you use the pointing technique to create a formula in the Refers To box of the New Name dialog box,<br />

Excel always uses absolute cell references — which is unlike its behavior when you create a formula in a<br />

cell.<br />

For example, activate cell B1 on Sheet1 and create the name Cubed for the following formula:<br />

=Sheet1!A1^3<br />

In this example, the relative reference points to the cell to the left of the cell in which the name is used.<br />

Therefore, make certain that cell B1 is the active cell before you open the New Name dialog box; this is very<br />

important. The formula contains a relative reference; when you use this named formula in a worksheet, the<br />

cell reference is always relative to the cell that contains the formula. For example, if you enter =Cubed into<br />

cell D12, then cell D12 displays the contents of cell C12 raised to the third power (C12 is the cell directly<br />

to the left of D12).<br />

Using range intersections<br />

This section describes a concept known as range intersections — individual cells that two ranges have in<br />

common. Excel uses an intersection operator — a space character — to determine the overlapping references<br />

in two ranges. Figure 11.17 shows a simple example.<br />

200

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!