11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

100<br />

Part I: Basic Information<br />

The preceding steps create a named formula that uses Excel’s OFFSET and COUNTA functions to<br />

return a range that changes, based on the number of nonempty cells in column B.<br />

This formula assumes that the range doesn’t contain any blank cells. For example, if cell<br />

B2 is empty, the COUNTA function would not count that cell, and the OFFSET function<br />

would return an incorrect range.<br />

To try out this formula, enter the following formula into any cell not in column B:<br />

=SUM(SalesData)<br />

This formula returns the sum of the values in column B. Note that SalesData does not display in<br />

the Name box and does not appear in the Go To dialog box. You can, however, type SalesData<br />

into the Name box to select the range. Or, bring up the Go To dialog box and type SalesData to<br />

select the range.<br />

At this point, you may be wondering about the value of this exercise. After all, a simple formula<br />

such as the following does the same job, without the need to define a formula:<br />

=SUM(B:B)<br />

The value of using dynamic named formulas becomes apparent when creating a chart. You can<br />

use this technique to create a chart with a data series that adjusts automatically as you enter new<br />

data.<br />

Using a table to store your data often eliminates the need to create dynamic ranges.<br />

Refer to Chapter 9 for more information about tables.

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

Saved successfully!

Ooh no, something went wrong!