XL: How to Use STDDEV or STDDEVP with a PivotTableLast reviewed: February 2, 1998Article ID: Q152984 |
The information in this article applies to:
SUMMARYThe PivotTable STDDEV or STDDEVP functions provide standard deviation statistics against data. STDDEV is best used when data is a sampling of the overall data. STDDEVP, on the other hand, is for use when the information included is all the data (entire population). The standard deviation functions are a measure of the dispersal of values from the average (the mean). The standard deviation functions provide a useful measure of the consistency of data and can ensure reliability in forecasting or trend analysis. This article provides an example of using the STDDEVP function in a Pivot Table. The data is a fictional rendering of sales data for two quarters over a period of three years. The data is limited to two quarters in a year for the sake of keeping the sample small. The resulting PivotTable will return the deviation for each quarter based upon monthly sales revenue. This result will be returned with STDDEVP and further expanded upon by returning the percentage difference in comparison to the same quarter of the previous year.
MORE INFORMATIONThe following steps provide an example:
Analyzing the ResultsThe PivotTable now reflects the desired result. In this scenario, the STDDEVP is a reflection of the deviations from the average of revenue based upon the underlying monthly data of a quarter. The quarter reflects the whole revenue amount and not a sampling, hence the use of STDDEVP over STDDEV. The result is taken a step further by performing a comparison of deviations of the same quarter from a previous year, accomplished by using the % Difference From option. Microsoft Excel performs a STDDEVP function on all quarters. However, when using the % Difference From option, there is no previous quarter to the first quarter for comparison. Therefore, the first quarter of each year is blank. When creating the PivotTable, there is a relatively easy aspect to determining what it will be displayed. In this PivotTable and all PivotTables, Step 3 of 4 in the PivotTable Wizard allows you to visualize the result. The page, row, and column fields will, by default, always present a single instance of every unique item in the data table field item supplied. The PivotTable Data Field will summarize the fields placed there by indexing the page, row, and column fields for the appropriate data.
REFERENCES
Microsoft Excel 7.0For more information about PivotTable functions in Microsoft Excel, click Answer Wizard on the Help menu and type:
pivot table summary functions Microsoft Excel 5.0For more information about PivotTable functions in Microsoft Excel, choose the Search button in Help and type:
Pivottable field command (data menu) |
Additional query words: 5.00 5.00a 5.00c 7.00 97 XL97 8.00 98 XL98
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |