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.

184<br />

Part II: Using Functions in Your <strong>Formula</strong>s<br />

Creating a pivot table is a quick way to get a count or sum of items without using formulas. Like<br />

the database function, using a pivot table is appropriate when your data is in the form of a worksheet<br />

database or table.<br />

Refer to Chapter 18 for information about pivot tables.<br />

Basic Counting <strong>Formula</strong>s<br />

The basic counting formulas presented here are all straightforward and relatively simple. They<br />

demonstrate how to count the number of cells in a range that meet specific criteria. Figure 7-1<br />

shows a worksheet that uses formulas (in column E) to summarize the contents of range A1:B10 —<br />

a 20-cell range named Data.<br />

Figure 7-1: <strong>Formula</strong>s provide various counts of the data in A1:B10.<br />

About this chapter’s examples<br />

Most of the examples in this chapter use named ranges for function arguments. When you adapt<br />

these formulas for your own use, you’ll need to substitute either the actual range address or a<br />

range name defined in your workbook.<br />

Also, some examples are array formulas. An array formula, as explained in Chapter 14, is a special<br />

type of formula. You can spot an array formula because it is enclosed in brackets when it is displayed<br />

in the <strong>Formula</strong> bar. For example<br />

{=Data*2}<br />

When you enter an array formula, press Ctrl+Shift+Enter (not just Enter). And don’t type the<br />

brackets — Excel inserts the brackets for you. If you need to edit an array formula, don’t forget<br />

to press Ctrl+Shift+Enter when you’ve finished editing. Otherwise, the array formula will revert<br />

to a normal formula, and it will return an incorrect result.

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

Saved successfully!

Ooh no, something went wrong!