Count Orders for a Product Across Regions Previous Topic

Previous Page
Next Topic

Next Page

Suppose you also want to know how many orders were filled for a particular product, but the products sell across regions, so the data isn’t grouped together. With the COUNTIF function, you can count the rows that contain a particular product name.

Paste Function button Paste Function button

With the Paste Function button, it’s easy to set this up.

Screenshot shows part of worksheet with sample order data.

Tip Icon

Want to know which regions are over quota?   COUNTIF can compare each row with the amount of your sales quota. For example, if the quota is $3,000 per region, you could use the following formula: =COUNTIF(D2:D90,">3000").

Want to count empty cells too?   Use the COUNTBLANK function to calculate the total number of empty cells in a range.

Total the orders for each product   The SUMIF function adds only the amounts for the criteria you specify in the formula. For example, you could calculate the total grain orders by using the following formula: =SUMIF(B3:B90,"Grain",D3:D90).

Find errors in formulas quickly   If a cell in which you’ve entered a formula displays an error message, such as DIV/0!, Microsoft Excel can show you where the error is. Use the Auditing toolbar. Click Show Auditing Toolbar (Tools menu, Auditing submenu) to find the source of the error.

Next Steps

  To See
  Create a chart Create a Chart from Worksheet Data
  Chart regional sales on a map Display Data on a Map


Getting Around | Contents | Index

<< Previous Topic | < Previous Page | Next Page > | Next Topic >>

©1996 Office Getting Results Book.
©1997 Microsoft Corporation. All rights reserved. Legal Notices.