Home > Articles > Home & Office Computing > Microsoft Applications

This chapter is from the book

This chapter is from the book

Using Running Total Options

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

To access the list of choices, open the PivotTable Field and click the Options button. This opens a combo box called Show Data As.

The ability 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 data area.

When you click the Options button, your dialog box is expanded to reveal the Show Data As settings. Figure 3.14 illustrates the eight custom calculations available on the Show Data As drop-down list.

Figure 3.14

Figure 3.14 Click the Options button to reveal additional choices for a data field.

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 Revenue field and choose the Options button. 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. If you have several years of data and want to always compare to a base year of 2003, you could select 2003.

Figure 3.15 shows both the dialog box settings and the report that results from the settings. The report shows that January of 2004 was $1,058,180 higher than the same month in 2003.

Figure 3.15

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

Compare One Year to a Prior Year with % Difference From

This option is similar to Difference From. The % Difference From option will display the change as a percentage of the base item. In Figure 3.16, you can see a report where 2004 is reported as a percentage change from 2003.

Figure 3.16

Figure 3.16 The % Difference From option shows that January 2004 is up 3.24% over January 2003.

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.17, the Revenue field is set up to show a Running Total In by Month. With this report, you can see that the company did a total of $108 million through March.

Figure 3.17

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

How Much Does Each Line of Business Contribute to the Total?

The head of the company will often be interested in what percentage of the revenue each division of the company is contributing. In Figure 3.18, you can use the % of Column option to show such a report. Each column will total to 100%. You can see that printers contributed 7.83% of the revenue in January, but only 6.5% in April.

Figure 3.18

Figure 3.18 The % of Column option produces percentages that total to 100% in each column.

Seasonality Reports

This report is great for seeing the seasonality of your business. The % of Row option will produce percentages that total to 100% in each row. Figure 3.19 shows a report where Jan+Feb+Mar+...+Dec add to 100% for each year.

Figure 3.19

Figure 3.19 The % of Row option produces percentages that total to 100% in each row. This is great for measuring seasonality. Based on this report, copier sales are not very seasonal—people apparently make copies all year long.

Measure Percentage for Two Fields with % of Total

The option % of Total can be used for a myriad of reports. Figure 3.20 shows a report by Region and Line of Business. The values in each cell show the percentage of revenue contribution from that region and line. Cell E9 shows that sales from service plans account for 70% of the total revenue. The South region’s sales of service plans account for 27% of total sales.

Figure 3.20

Figure 3.20 The % of Total option produces a report where every cell is a percentage of total sales. The manager of the South Region Service Plan 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 might be relevant if you believe that part sales and service revenue should be related. Set up a pivot table that compares each line of business to service plan revenue. The result is shown in Figure 3.21.

Figure 3.x21xx

Figure 3.21 The West region is able to move more parts in relation to service plans than the other regions. This report is created using the % Of option with Service Plan as the base item.

Track Relative Importance with the Index Option

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

Look at the normal data in Figure 3.22.

Figure 3.22

Figure 3.22 Use these numbers when trying to follow the next example.

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.

The index report is shown in Figure 3.23. Microsoft 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).

Figure 3.23

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

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.

Case Study: Revenue by Line of Business Report

You have been asked to produce a report that will provide a comprehensive look at revenue by line of business. This analysis needs to include revenue dollars by line of business for each market, the percent of revenue that each line represents within the markets, and the percent total company dollars that each market represents within the lines of business. Here are the steps to follow:

  1. Place your cursor inside your data source. Then go up to the application toolbar and select PivotTable and PivotChart Report from the Data menu.

  2. When the PivotTable Wizard activates, simply choose Finish. A new worksheet will be created with the beginnings of a pivot table report and your field list, as shown in Figure 3.24.

    Figure 3.24

    Figure 3.24 After clicking Finish, you will get this blank pivot table report.

  3. Drag the Market field into the row area. Then drag the Line of Business field into the column area, as shown in Figure 3.25.

    Figure 3.25

    Figure 3.25 Setting up the row and column fields.

  4. Drag the Revenue field into the data area three times to create three separate revenue data items, as shown in Figure 3.26.

    Figure 3.26

    Figure 3.26 Having three copies of Sum of Revenue doesn’t look useful...yet.

  5. Right-click on Sum of Revenue and select Field Settings, as shown in Figure 3.27.

    Figure 3.27

    Figure 3.27 Right-click to access Field Settings from a report with many data fields.

  6. As shown in Figure 3.28, change the name of the data field to Total Revenue. Then click the Number button to open the Format Cells dialog box. Change the format of the data item to currency and then close out both dialog boxes by clicking OK.

    Figure 3.28

    Figure 3.28 Set up the first Revenue item as normal.

  7. Right-click on Sum of Revenue2 and select Field Settings.

  8. Change the name of the data field to "Percent of Market" and then choose the Options button to reveal the Show As settings. In the Show As settings, use the drop-down selector to select the % of Row option. After you do that, choose the Number button to open the Format Cells dialog box. Change the format of the cells to Percentage and then close out both dialog boxes by clicking OK, as shown in Figure 3.29.

    Figure 3.29

    Figure 3.29 Use % of Row to get the Percentage of Market.

  9. Right-click on Sum of Revenue3 and select Field Settings.

  10. Change the name of the data field to "Percent of Company" and then choose the Options button to reveal the Show As settings. In the Show As settings, use the drop-down selector to select the % of Column option. After you do that, choose the Number button to open the Format Cells dialog box. Change the format of the cells to Percentage and then close out both dialog boxes by clicking OK, as shown in Figure 3.30.

    Figure 3.30

    Figure 3.30 Use the % of Column option to calculate a percentage of company dollars.

As shown in Figure 3.31, your line of business analysis is complete! You have the Total Revenue field, which gives you the revenue dollars by line of business for each market. Then you have the Percent of Market field, which shows you the percent of revenue that each line represents within the markets. Finally, you have the Percent of Company field, which shows line of business revenue as a percentage of total company dollars.

Figure 3.31

Figure 3.31 The completed report shows three calculations for every data cell.

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