Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Help and How-to
Search
Search
 
Check for updates: (c) Microsoft
Microsoft Update
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Create a total based on multiple conditions
 

To return to the previous section of this article, click Run the Conditional Sum Wizard


In step 2 of the wizard, you specified a single condition for your total, Region=South. What if you have more than one condition, such as totaling beverage sales for November? The wizard makes this just as easy:

  1. Repeat steps 1 through 5 above: run the wizard and select the entire range of data.
  2. For the first condition in step 2 of the wizard, sales of beverages, click Product in the Column box, click Beverages in the This value box, and then click Add Condition, so that the dialog box looks like this:

    Step 2 with condition Product=Beverages

    To specify the second condition, click Month in the Column box, click Nov in the This value box, and then click Add Condition again:

    Adding a second condition, Month=Nov

  3. Click Next twice, specify cell D15 for the result, and then click Finish. The resulting formula adds the sales from rows 5 and 8 and looks like this:

    Total with two conditions

Next: How the conditional formulas work

advertisement