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.

Performing Magic with<br />

Array <strong>Formula</strong>s<br />

In This Chapter<br />

● More examples of single-cell array formulas<br />

● More examples of multicell array formulas<br />

391<br />

15<br />

The previous chapter provided an introduction to arrays and array formulas, and also presented<br />

some basic examples to whet your appetite. This chapter continues the saga and provides many<br />

useful examples that further demonstrate the power of this feature.<br />

I selected the examples in this chapter to provide a good assortment of the various uses for array<br />

formulas. Most can be used as-is. You will, of course, need to adjust the range names or references<br />

that you use. Also, you can modify many of the examples easily to work in a slightly different<br />

manner.<br />

Working with Single-Cell Array <strong>Formula</strong>s<br />

As I describe in the preceding chapter, you enter single-cell array formulas into a single cell (not<br />

into a range of cells). These array formulas work with arrays contained in a range or that exist in<br />

memory. This section provides some additional examples of such array formulas.<br />

The examples in this section are available on the companion CD-ROM. The file is named<br />

single-cell array formulas.xlsx.<br />

Summing a range that contains errors<br />

You may have discovered that the SUM function doesn’t work if you attempt to sum a range that<br />

contains one or more error values (such as #DIV/0! or #N/A). Figure 15-1 shows an example. The<br />

formula in cell C11 returns an error value because the range that it sums (C4:C10) contains errors.

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

Saved successfully!

Ooh no, something went wrong!