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.

Creating Formulas That Count and Sum 14<br />

Conditional Sums Using Multiple Criteria<br />

The examples in the preceding section all used a single comparison criterion. The examples in this section<br />

involve summing cells based on multiple criteria.<br />

Figure 14.14 shows the sample worksheet again, for your reference. The worksheet also shows the result of<br />

several formulas that demonstrate summing by using multiple criteria.<br />

Using And criteria<br />

Suppose that you want to get a sum of the invoice amounts that are past due and associated with the<br />

Oregon office. In other words, the value in the Amount range will be summed only if both of the following<br />

criteria are met:<br />

n<br />

n<br />

The corresponding value in the Difference range is negative.<br />

The corresponding text in the <strong>Office</strong> range is “Oregon.”<br />

FIGURE 14.14<br />

This worksheet demonstrates summing based on multiple criteria.<br />

271

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

Saved successfully!

Ooh no, something went wrong!