Home > Articles > Home & Office Computing > Microsoft Applications

This chapter is from the book

Using Running Total Options

So far, every pivot table created has used the Normal option. When you want to create running totals or compare an item to another item, you have eight choices other than Normal.

The nine options are on the second tab of the Data Field Settings dialog box. To access them, follow these steps:

  1. Select a cell in the values area of your pivot table. Or, select the Sum of Revenue cell.
  2. On the Options ribbon, click the Field Settings icon in the Active Group field.
  3. Click the Show Values As tab in the Data Field Settings dialog box.

Initially, the Show Values As drop-down is set to Normal, and the Base Field and Base Item list boxes are grayed out, as shown in Figure 3.34.

Figure 3.34

Figure 3.34 Access the second tab of the Data Field Settings dialog box to see the running total options.

The capability to create custom calculations is another example of the unique flexibility of pivot table reports. With the Show Data As setting, you can change the calculation for a particular data field to be based on other cells in the values area.

When you click the Show Values As drop-down, you have eight choices other than Normal. The choices are

  • % of Row—Shows percentages that total across the pivot table to 100%.
  • % of Column—Shows percentages that total up and down the pivot table to 100%.
  • % of Total—Shows percentages such that all the detail cells in the pivot table total to 100%.
  • Difference From—Shows the difference of one item compared to another item or to the previous item.
  • % of—Expresses the values for one item as a percentage of another item.
  • % Difference From—Expresses the percentage change from one item to another item.
  • Running Total In—Calculates a running total.
  • Index—Calculates the relative importance of items.

The following sections illustrate a number of these options.

Display Change from Year to Year with Difference From

Companies always want to know how they are doing this month compared to last month. Or, if their business is seasonal, they want to know how they are doing this month versus the same month of last year.

To set up such a report, double-click the Sum of Revenue field and click the Show Values As tab. In the Show Data As drop-down list, select Difference From. Because you want to compare one year to another, select Years from the Base Field option. In the Base Item field are several viable options. If you always want to compare one year to the prior year, select the (Previous) option, as shown in Figure 3.35. If you have several years' worth of data and want to always compare to a base year of 2007, you could select 2007.

Figure 3.35

Figure 3.35 The Difference From option allows you to compare two different time periods.

Figure 3.35 shows both the dialog box settings and the report that results from the settings. The report shows that January 2008 revenue was $55K higher than the same month in 2007.

Compare One Year to a Prior Year with % Difference From

The % Difference From option is similar to Difference From. This option displays the change as a percentage of the base item. In Figure 3.36, the report shows 2008 as a percentage change from 2007.

Figure 3.36

Figure 3.36 The % Difference From option shows that revenue from January 2008 is up 8.02% over January 2007.

Track YTD Numbers with Running Total In

If you need to compare a year-to-date (YTD) total revenue by month, you can do so with the Running Total In option. In Figure 3.37, the Revenue field is set up to show a Running Total In with a base field of Invoice Date. With this report, you can see that the company earned a total of $2.6 million through March 2007.

Figure 3.37

Figure 3.37 The Running Total In option is great for calculating YTD totals.

Determine How Much Each Line of Business Contributes to the Total

The head of the company is often interested in what percentage of the revenue each division of the company is contributing. You can use the % of Row option, as in Figure 3.38, to show such a report. Each row totals to 100%. You can see that Maintenance contributed 70.97% of the revenue in February, but only 59.82% in December.

Figure 3.38

Figure 3.38 The % of Row option produces percentages that total to 100% in each row.

Create Seasonality Reports

A seasonality report is great for seeing the seasonality of your business. The % of Column option produces percentages that total to 100% in each column. Figure 3.39 shows a report in which Jan+Feb+Mar+...+Dec add to 100% for each year.

Figure 3.39

Figure 3.39 The % of Column option produces percentages that total to 100% in each column. This option is great for measuring seasonality.

Measure Percentage for Two Fields with % of Total

The option % of Total can be used for a myriad of reports. Figure 3.40 shows a report by Region and Product Line. The values in each cell show the percentage of revenue contribution from that region and line. Cell F8 shows that sales from Maintenance account for 66.53% of the total revenue. The South region's sales of Maintenance account for 21.95% of total sales.

Figure 3.40

Figure 3.40 The % of Total option produces a report in which every cell is a percentage of total sales. The manager of the South Region Maintenance department can use this report to explain why his department should get a raise this year.

Compare One Line to Another Line Using % Of

The % Of option allows you to compare one item to another item. This comparison might be relevant if you believe that housekeeping and landscaping should be related. You can set up a pivot table that compares each product line to landscaping revenue. The result is shown in Figure 3.41.

Figure 3.41

Figure 3.41 This report is created using the % Of option with Landscaping as the base item.

Track Relative Importance with the Index Option

The final option, Index, creates a fairly obscure calculation. Microsoft claims that this calculation describes the relative importance of a cell within a column.

Look at the normal data at the top of Figure 3.42. To calculate the index for Georgia Peaches, Excel first calculates Georgia Peaches x Grand Total Sales. This would be $180 x $848. Next, Excel calculates Georgia Sales x Peach Sales. This would be $210 x $290. It then divides the first result by the second result to come up with a relative importance index of 2.51.

Figure 3.42

Figure 3.42 Using the Index function, Excel shows that peach sales are more important in Georgia than in Tennessee.

The index report is shown at the bottom of Figure 3.42. Excel explains that peaches are more important to Georgia (with an index of 2.51) than they are to California (with an index of 0.49).

Even though Georgia sold more apples than Tennessee, apples are more important to Tennessee (index of 1.51) than to Georgia (index of 0.34). Relatively, an apple shortage will cause more problems in Tennessee than in Georgia.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020