Book description
Excel Pivot Tables Recipe Book: A Problem-Solution Approach is for anyone who uses Excel frequently. This book follows a problem-solution format that covers the entire breadth of situations you might encounter when working with PivotTables—from planning and creating, to formatting and extracting data, to maximizing performance and troubleshooting. The author presents tips and techniques in this collection of recipes that cannot be found in Excel's Help section, and she carefully explains the most confusing features of PivotTables.
All chapters have been organized into a collection of recipes that take you step-by-step from the problem you are experiencing to the solution you are aiming for. There's no fuss to this book, only clear and precise information to help you assess your situationwhether common or uniqueand solve your problem. The book includes real-world examples of complex PivotTables, as well as numerous PivotTable programming examples.
Table of contents
- Title Page
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
-
CHAPTER 1: Creating a Pivot Table
- 1.1. Planning a Pivot Table: Getting Started
- 1.2. Planning a Pivot Table: Accessing the Source Data
- 1.3. Planning a Pivot Table: Source Data Fields
- 1.4. Planning a Shared Pivot Table
- 1.5. Preparing the Source Data: Using an Excel List
- 1.6. Preparing the Source Data: Excel List Invalid Field Names
- 1.7. Preparing the Source Data: Using a Filtered Excel List
- 1.8. Preparing the Source Data: Using an Excel List with Monthly Columns
- 1.9. Preparing the Source Data: Using an Excel List with Monthly Columns and Text Fields
- 1.10. Preparing the Source Data: Using an Access Query
- 1.11. Preparing the Source Data: Using an Access Query with Parameters
- 1.12. Preparing the Source Data: Using a Text File
- 1.13. Preparing the Source Data: Using an OLAP Cube
- 1.14. Preparing the Source Data: Creating an OLAP Cube
- 1.15. Preparing the Source Data: Using Multiple Consolidation Ranges
- 1.16. Preparing the Source Data: Alternatives to Using Multiple Consolidation Ranges
- 1.17. Preparing the Source Data: Setting Up Multiple Consolidation Ranges
- 1.18. Preparing the Source Data: Benefits of Using Another PivotTable or PivotChart Report
- 1.19. Preparing the Source Data: Problems Caused by Using Another PivotTable or PivotChart Report
- 1.20. Preparing the Source Data: Page Field Settings When Using Another PivotTable or PivotChart Report
- 1.21. Connecting to the Source Data: Selecting a Large Range in an Excel List
- 1.22. Connecting to the Source Data: Using Arrow Keys in an Excel List
- 1.23. Connecting to the Source Data: Installing Drivers for External Data
- 1.24. Connecting to the Source Data: Creating a New Source for External Data
- 1.25. Connecting to the Source Data: Excel Hangs When Using External Data
- 1.26. Connecting to the Source Data: Using Pages with Multiple Consolidation Ranges
- 1.27. Understanding PivotTable Options: Table Name
- 1.28. Understanding PivotTable Options: Table Naming Rules
- 1.29. Understanding PivotTable Options: Row and Column Grand Totals
- 1.30. Understanding PivotTable Options: AutoFormat Table
- 1.31. Understanding PivotTable Options: Subtotal Hidden Page Items
- 1.32. Understanding PivotTable Options: Merge Labels
- 1.33. Understanding PivotTable Options: Merge Labels Formatting
- 1.34. Understanding PivotTable Options: Preserve Formatting
- 1.35. Understanding PivotTable Options: Repeat Item Labels on Each Printed Page
- 1.36. Understanding PivotTable Options: Page Layout
- 1.37. Understanding PivotTable Options: Fields per Column/Fields per Row
- 1.38. Understanding PivotTable Options: Error Values
- 1.39. Understanding PivotTable Options: Empty Cells
- 1.40. Understanding PivotTable Options: Set Print Titles
- 1.41. Understanding PivotTable Options: Mark Totals with *
- 1.42. Understanding PivotTable Options: Save Data with Table Layout
- 1.43. Understanding PivotTable Options: Enable Drill to Details
- 1.44. Understanding PivotTable Options: Refresh on Open
- 1.45. Understanding PivotTable Options: Refresh Every n Minutes
- 1.46. Understanding PivotTable Options: Save Password
- 1.47. Understanding PivotTable Options: Background Query
- 1.48. Understanding PivotTable Options: Optimize Memory
- 1.49. Understanding Pivot Table Layout
-
CHAPTER 2: Sorting and Grouping Pivot Table Data
- 2.1. Sorting a Pivot Field: One Row Field
- 2.2. Sorting a Pivot Field: Outer Row Field
- 2.3. Sorting a Pivot Field: Inner Row Field
- 2.4. Sorting a Pivot Field: Renamed Numeric Items
- 2.5. Sorting a Pivot Field: New Items Out of Order
- 2.6. Sorting a Pivot Field: Sorting Items Geographically
- 2.7. Sorting a Pivot Field: Data Source Order
- 2.8. Sorting a Pivot Field When Some Items Won't Sort Correctly
- 2.9. Using Top 10 AutoShow: Specifying Top Items Overall
- 2.10. Using Top 10 AutoShow: Specifying Items Over a Set Amount
- 2.11. Using Top 10 AutoShow: Referring to a Cell Value
- 2.12. Grouping: Error Message When Grouping Items in a Date Field
- 2.13. Grouping: Error Message When Grouping Items in a Numeric Field
- 2.14. Grouping: Error Message When Grouping Items in a Date Field with No Blanks or Text
- 2.15. Grouping the Items in a Page Field
- 2.16. Grouping the Items in a Page Field: Using an External Source
- 2.17. Grouping: Incorrect Error Message About Calculated Items
- 2.18. Grouping Text Items
- 2.19. Grouping Dates by Week
- 2.20. Grouping Dates by Fiscal Quarter
- 2.21. Grouping Renamed Numeric Items
- 2.22. Grouping Months
- 2.23. Grouping Dates Using the Starting Date
- 2.24. Grouping Dates by Months and Weeks
- 2.25. Grouping the Items in a Pivot Table Based on an Existing Pivot Table
- 2.26. Grouping Dates Outside the Range
- 2.27. Grouping Nonadjacent Items
-
CHAPTER 3: Calculations in a Pivot Table
- 3.1. Using Summary Functions
- 3.2. Using Summary Functions: Default Functions
- 3.3. Using Summary Functions: Counting Blank Cells
- 3.4. Using Custom Calculations: Difference From
- 3.5. Using Custom Calculations: % Of
- 3.6. Using Custom Calculations: % Difference From
- 3.7. Using Custom Calculations: Running Total
- 3.8. Using Custom Calculations: % of Row
- 3.9. Using Custom Calculations: % of Column
- 3.10. Using Custom Calculations: % of Total
- 3.11. Using Custom Calculations: Index
- 3.12. Using Formulas: Calculated Field vs. Calculated Item
- 3.13. Using Formulas: Adding Items with a Calculated Item
- 3.14. Using Formulas: Modifying a Calculated Item
- 3.15. Using Formulas: Temporarily Removing a Calculated Item
- 3.16. Using Formulas: Permanently Removing a Calculated Item
- 3.17. Using Formulas: Using Index Numbers in a Calculated Item
- 3.18. Using Formulas: Using Relative Position Numbers in a Calculated Item
- 3.19. Using Formulas: Modifying a Calculated Item Formula in a Cell
- 3.20. Using Formulas: Creating a Calculated Field
- 3.21. Using Formulas: Modifying a Calculated Field
- 3.22. Using Formulas: Temporarily Removing a Calculated Field
- 3.23. Using Formulas: Permanently Removing a Calculated Field
- 3.24. Using Formulas: Determining the Type of Formula
- 3.25. Using Formulas: Adding a Calculated Item to a Field With Grouped Items
- 3.26. Using Formulas: Calculating the Difference Between Plan and Actual
- 3.27. Using Formulas: Correcting the Grand Total for a Calculated Field
- 3.28. Using Formulas: Counting Unique Items in a Calculated Field
- 3.29. Using Formulas: Correcting Results in a Calculated Field
- 3.30. Using Formulas: Listing All Formulas
- 3.31. Using Formulas: Accidentally Creating a Calculated Item
- 3.32. Using Formulas: Solve Order
-
CHAPTER 4: Formatting a Pivot Table
- 4.1. Using AutoFormat: Applying a Predefined Format
- 4.2. Using AutoFormat: Removing an AutoFormat
- 4.3. Using AutoFormat: Applying a Standard Table AutoFormat
- 4.4. Using the Enable Selection Option
- 4.5. Losing Formatting When Refreshing the Pivot Table
- 4.6. Retaining the Source Data Formatting
- 4.7. Hiding Data Errors on Worksheet
- 4.8. Hiding Errors When Printing
- 4.9. Showing Zero in Empty Data Cells
- 4.10. Using Conditional Formatting in a Pivot Table
- 4.11. Creating Custom Number Formats in the Source Data
- 4.12. Totaling Hours in a Time Field
- 4.13. Displaying Hundredths of Seconds in a Pivot Table
- 4.14. Centering Field Labels Vertically
- 4.15. Applying an Indented AutoFormat
- 4.16. Creating an Indented Format
- 4.17. Applying a Tabular AutoFormat
- 4.18. Displaying Subtotals at the Top of a Group
- 4.19. Separating Field Items with Blank Rows
- 4.20. Turning Off Subtotals
- 4.21. Repeating Row Headings
- 4.22. Retaining Formatting for Temporarily Removed Fields
- 4.23. Applying Formatting with the Format Painter
- 4.24. Grouping Dates Based on Source Data Formatting
- 4.25. Changing Alignment for Merged Labels
- 4.26. Displaying Line Breaks in Pivot Table Cells
- 4.27. Showing Only the Top Items
- 4.28. Freezing Heading Rows
- 4.29. Using the Always Display Items Option
- 4.30. Applying Number Formatting to Page Fields
- 4.31. Displaying Hyperlinks
- 4.32. Changing Total Label Text
- 4.33. Changing Subtotal Label Text
- 4.34. Formatting Date Field Subtotal Labels
- 4.35. Showing Additional Subtotals
- 4.36. Showing Subtotals for Inner Fields
- 4.37. Changing the Grand Total Label Text
- 4.38. Changing Labels for Grand Totals
- 4.39. Displaying Grand Totals at Top of Pivot Table
- 4.40. Hiding Grand Totals
- 4.41. Using a Worksheet Template
- 4.42. Displaying Multiple Pivot Tables in a Dashboard
-
CHAPTER 5: Extracting Pivot Table Data
- 5.1. Using Drill to Details: Extracting Underlying Data
- 5.2. Using Drill to Details: Re-creating Source Data Table
- 5.3. Using Drill to Details: Receiving Error Messages in a Non-OLAP Pivot Table
- 5.4. Using Drill to Details: Receiving the Saved Without Underlying Data Error Message
- 5.5. Using Drill to Details: Formatting
- 5.6. Using Drill to Details: New Sheets Are Not Using the Worksheet Template
- 5.7. Using Drill to Details: Updating Source Data
- 5.8. Using Drill to Details: Outputting Specific Fields
- 5.9. Using Drill to Details: Preventing Sheet Creation
- 5.10. Using Drill to Details: Deleting Created Sheets
- 5.11. Using GetPivotData: Automatically Inserting a Formula
- 5.12. Using GetPivotData: Turning Off Automatic Insertion of Formulas
- 5.13. Using GetPivotData: Referencing Pivot Tables in Other Workbooks
- 5.14. Using GetPivotData: Using Cell References Instead of Text Strings
- 5.15. Using GetPivotData: Using Cell References in an OLAP-Based Pivot Table
- 5.16. Using GetPivotData: Preventing Cell Reference Errors for Data_Field
- 5.17. Using GetPivotData: Preventing Errors in Data_Fields for OLAP-Based Pivot Tables
- 5.18. Using GetPivotData: Extracting Data for Blank Field Items
- 5.19. Using GetPivotData: Preventing Errors for Missing Field Items
- 5.20. Using GetPivotData: Referencing Two Pivot Tables
- 5.21. Using GetPivotData: Preventing Errors for Custom Subtotals
- 5.22. Using GetPivotData: Preventing Errors for Date References
- 5.23. Using GetPivotData: Referring to a Pivot Table
- 5.24. Using Show Pages: Creating Pivot Table Copies
- 5.25. Using Show Pages: Creating Incorrect Sheet Names
- 5.26. Using Show Pages: Not Creating Sheets for All Items
- 5.27. Using Show Pages: Not Formatting New Sheets
- 5.28. Using Show Pages: Enabling the Show Pages Command
-
CHAPTER 6: Modifying a Pivot Table
- 6.1. Using Page Fields: Shifting Up When Adding Page Fields
- 6.2. Using Page Fields: Arranging Fields Horizontally
- 6.3. Using Page Fields: Hiding Entries in Page Field Item List
- 6.4. Using Page Fields: Hiding Page Field Items in OLAP-Based Pivot Tables
- 6.5. Using Page Fields: Including Hidden Items in Total
- 6.6. Using Page Fields: Filtering for a Date Range
- 6.7. Using Page Fields: Filtering for Future Dates
- 6.8. Using Data Fields: Changing Content in the Data Area
- 6.9. Using Data Fields: Renaming Fields
- 6.10. Using Data Fields: Changing the “Total” Field Name
- 6.11. Using Data Fields: Arranging Horizontally
- 6.12. Using Data Fields: Restoring Hidden Fields in the Data Field List
- 6.13. Using Data Fields: Fixing Source Data Number Fields
- 6.14. Using Data Fields: Showing the Source Text Instead of the Count
- 6.15. Using Pivot Fields: Adding Comments to Pivot Table Cells
- 6.16. Using Pivot Fields: Showing Detail for Inner Fields
- 6.17. Using Pivot Fields: Showing Detail for All Items in the Selected Field
- 6.18. Using Pivot Fields: Showing Details in OLAP-Based Pivot Tables
- 6.19. Using Pivot Fields: Changing Field Names in the Source Data
- 6.20. Using Pivot Fields: Clearing Old Items from Field Dropdown Lists
- 6.21. Using Pivot Fields: Changing (Blank) Items in Row and Column Fields
- 6.22. Using Pivot Items: Showing All Months for Grouped Dates
- 6.23. Using Pivot Items: Showing All Field Items
- 6.24. Using Pivot Items: Hiding Items with No Data
- 6.25. Using Pivot Items: Ignoring Trailing Spaces When Summarizing Data
- 6.26. Using a Pivot Table: Deleting the Entire Table
- 6.27. Using a Pivot Table: Changing the Automatically Assigned Name
-
CHAPTER 7: Updating a Pivot Table
- 7.1. Using Source Data: Locating and Changing the Source Excel List
- 7.2. Using Source Data: Automatically Including New Data
- 7.3. Using Source Data: Automatically Including New Data in an External Data Range
- 7.4. Using Source Data: Moving the Source Excel List
- 7.5. Using Source Data: Changing the Source Excel List
- 7.6. Using Source Data: Locating the Source Access File
- 7.7. Using Source Data: Trying to Change an OLAP Source
- 7.8. Using Source Data: Changing the Data Source Name File
- 7.9. Using Source Data: Changing the Source Access File
- 7.10. Using Source Data: Changing the Source for a Shared Cache
- 7.11. Using Source Data: Changing the Source CSV File
- 7.12. Refreshing When a File Opens
- 7.13. Preventing a Refresh When a File Opens
- 7.14. Refreshing Every 10 Minutes
- 7.15. Refreshing All Pivot Tables in a Workbook
- 7.16. Reenabling the Refreshing External Data Message
- 7.17. Problems Obtaining Data When Refreshing
- 7.18. Stopping a Refresh in Progress
- 7.19. New Data Doesn't Appear When Refreshing an OLAP Cube
- 7.20. Refreshing an OLAP Cube Causes Client Safety Options Error Message
- 7.21. Refreshing Pivot Tables with the Same Pivot Cache
- 7.22. Refreshing Part of a Pivot Table
- 7.23. Enabling Automatic Refresh
- 7.24. Refreshing a Pivot Table on a Protected Sheet
- 7.25. Refreshing Automatically When Data Changes
- 7.26. Refreshing When Two Tables Overlap
- 7.27. Refreshing Creates an Error Message After Fields Are Deleted
- 7.28. Refreshing Pivot Tables After Queries Have Been Executed
- 7.29. Refreshing Creates a Too Many Row or Column Items Error Message
- 7.30. Refreshing a Scenario Pivot Table
-
CHAPTER 8: Securing a Pivot Table
- 8.1. Using a Password-Protected Data Source
- 8.2. Using a Data Source: No Prompt for Password with OLAP Cube
- 8.3. Using a Data Source: Access Database with User-Level Security
- 8.4. Protection: Preventing Changes to a Pivot Table
- 8.5. Protection: Allowing Changes to a Pivot Table on a Protected Sheet
- 8.6. Protection: Refreshing or Creating a Pivot Table
- 8.7. Privacy: Preventing Viewing of Others' Data
- 8.8. Privacy: Disabling Drill to Details
- 8.9. Privacy: Disabling Show Pages
-
CHAPTER 9: Pivot Table Limits and Performance
- 9.1. Understanding Limits: 32,500 Unique Items with External Data Source
- 9.2. Understanding Limits: 32,500 Unique Items with Excel Data Source
- 9.3. Understanding Limits: Only the First 255 Items Displayed
- 9.4. Understanding Limits: 8,000 Items in a Column Field
- 9.5. Understanding Limits: Too Many Row or Column Items
- 9.6. Understanding Limits: Text Truncated in a Pivot Table Cell
- 9.7. Understanding Limits: Number of Records in the Source Data
- 9.8. Improving Performance When Changing Layout
- 9.9. Improving Performance with the Optimize Memory Option
- 9.10. Reducing File Size: Excel Data Source
-
CHAPTER 10: Publishing a Pivot Table
- 10.1. Publishing a Pivot Table: Understanding HTML
- 10.2. Publishing Without Interactivity: Preparing the Excel File
- 10.3. Publishing with Interactivity: Pivot Charts and Pivot Tables
- 10.4. Publishing: Interactive Pivot Table Blocked
- 10.5. Using AutoRepublish: The Don't Show This Message Again Option
-
CHAPTER 11: Printing a Pivot Table
- 11.1. Repeating Pivot Table Headings
- 11.2. Setting the Print Area to Fit the Pivot Table
- 11.3. Compacting the Space Required for Row Labels
- 11.4. Printing the Pivot Table for Each Page Item
- 11.5. Printing Field Items: Starting Each Item on a New Page
- 11.6. Printing Field Items: Keeping All Rows for an Item on One Page
- 11.7. Printing Field Items: Including Labels on Each Page
- 11.8. Using Report Manager: Printing Pivot Table Data
-
CHAPTER 12: Pivot Charts
- 12.1. Stepping Through the Chart Wizard to Create a Pivot Chart
- 12.2. Creating a Normal Chart from Pivot Table Data
- 12.3. Restoring Lost Series Formatting
- 12.4. Adjusting Hidden Pie Chart Labels
- 12.5. Formatting Category Axis Date Labels
- 12.6. Changing Pivot Chart Layout Affects Pivot Table
- 12.7. Resizing and Moving Pivot Chart Elements
- 12.8. Including Grand Totals in a Pivot Chart
- 12.9. Converting a Pivot Chart to a Static Chart
- 12.10. Using Page Fields: Page Fields with Hidden Items Shows (All)
-
CHAPTER 13: Programming a Pivot Table
- 13.1. Using Sample Code
- 13.2. Recording a Macro While Printing a Pivot Table
- 13.3. Modifying Recorded Code
- 13.4. Showing Top 10 Items over a Set Amount
- 13.5. Changing the Summary Function for All Data Fields
- 13.6. Hiding Rows with a Zero Total for Calculated Items
- 13.7. Hiding All Pivot Field Subtotals
- 13.8. Naming and Formatting the Drill to Details Sheet
- 13.9. Automatically Deleting Worksheets When Closing a Workbook
- 13.10. Changing the Page Field Selection in Related Tables
- 13.11. Clearing Old Items from Field Dropdown Lists
- 13.12. Hiding All Items in a Pivot Field
- 13.13. Changing Content in the Data Area
- 13.14. Identifying a Pivot Table's Pivot Cache
- 13.15. Changing a Pivot Table's Pivot Cache
- 13.16. Identifying the Query Used as the Data Source
- 13.17. Refreshing a Pivot Table on a Protected Sheet
- 13.18. Refreshing Automatically When Source Data Changes
- 13.19. Preventing Selection of (All) in a Page Field
- 13.20. Disabling Pivot Field Dropdowns
- 13.21. Preventing Layout Changes in a Pivot Table
- 13.22. Preventing Changes to the Pivot Table
- 13.23.Viewing Information on Pivot Caches
- 13.24. Resetting the Print Area to Include the Entire Pivot Table
- 13.25. Printing the Pivot Table for Each Page Field
- 13.26. Reformatting Pivot Charts After Changing the Pivot Table
- 13.27. Scrolling Through Page Field Items on a Pivot Chart
- Index
Product information
- Title: Excel Pivot Tables Recipe Book: A Problem-Solution Approach
- Author(s):
- Release date: February 2006
- Publisher(s): Apress
- ISBN: 9781590596296
You might also like
book
Excel® Pivot Tables and Pivot Charts: Your visual blueprint™ for creating dynamic spreadsheets
Welcome to the only guidebook series that takes a visual approach to professional-level computer topics. Open …
book
101 Excel 2013 Tips, Tricks and Timesavers
Get the most out of Excel 2013 with this exceptional advice from Mr. Spreadsheet himself! Excel …
book
Pivot Table Data Crunching
Become a savvy Microsoft Excel user. Pivot tables are a great feature in Excel that help …
book
Excel 2016 Formulas and Functions
Master core Excel 2016 tools for building powerful, reliable spreadsheets with Excel 2016 Formulas and Functions. …