0%

Book Description

Excel® 2016 PIVOT TABLE DATA CRUNCHING


CRUNCH DATA FROM ANY SOURCE, QUICKLY AND EASILY, WITH EXCEL 2016 PIVOT TABLES!

Use Excel 2016 pivot tables and pivot charts to produce powerful, dynamic reports in minutes instead of hours… understand exactly what’s going on in your business… take control, and stay in control! Even if you’ve never created a pivot table before, this book will help you leverage all their amazing flexibility and analytical power. Drawing on more than 40 combined years of Excel experience, Bill Jelen and Michael Alexander offer practical “recipes” for solving real business problems, help you avoid common mistakes, and present tips and tricks you’ll find nowhere else!

• Create, customize, and change pivot tables

• Transform huge data sets into clear summary reports

• Analyze data faster with Excel 2016’s new recommended pivot tables

• Instantly highlight your most profitable customers, products, or regions

• Quickly import, clean, and shape data with Power Query vBuild geographical pivot tables with Power Map

• Use Power View dynamic dashboards to see where your business stands

• Revamp analyses on the fly by dragging and dropping fields

• Build dynamic self-service reporting systems

• Combine multiple data sources into one pivot table

• Use Auto grouping to build date/time-based pivot tables faster vCreate data mashups with Power Pivot

• Automate pivot tables with macros and VBA

About MrExcel Library

Every book in the MrExcel Library pinpoints a specific set of crucial Excel tasks and presents focused skills and examples for performing them rapidly and effectively. Selected by Bill Jelen, Microsoft Excel MVP and mastermind behind the leading Excel solutions website MrExcel.com, these books will

• Dramatically increase your productivity—saving you 50 hours a year or more

• Present proven, creative strategies for solving real-world problems

• Show you how to get great results, no matter how much data you have

• Help you avoid critical mistakes that even experienced users make

Bill Jelen is MrExcel, the world’s #1 spreadsheet wizard. Jelen hosts MrExcel.com, the premier Excel solutions site, with more than 20 million page views annually. A Microsoft MVP for Excel, his best-sellers include Excel 2016 In Depth. Michael Alexander, Microsoft Certified Application Developer (MCAD) and Microsoft MVP, is author of several books on advanced business analysis with Excel and Access. He has more than 15 years of experience developing Office solutions.


CATEGORY:   Spreadsheets

COVERS:   Microsoft Excel 2016

Table of Contents

  1. About This E-Book
  2. Title Page
  3. Copyright Page
  4. Contents at a Glance
  5. Contents
  6. About the Authors
  7. Dedication
  8. Acknowledgments
  9. We Want to Hear from You!
  10. Reader Services
  11. Introduction
    1. What You Will Learn from This Book
    2. What Is New in Excel 2016’s Pivot Tables
    3. Skills Required to Use This Book
    4. Invention of the Pivot Table
    5. Sample Files Used in This Book
    6. Conventions Used in This Book
      1. Referring to Ribbon Commands
      2. Special Elements
  12. 1. Pivot Table Fundamentals
    1. Defining a Pivot Table
    2. Why You Should Use a Pivot Table
      1. Advantages of Using a Pivot Table
    3. When to Use a Pivot Table
    4. Anatomy of a Pivot Table
      1. Values Area
      2. Rows Area
      3. Columns Area
      4. Filters Area
    5. Pivot Tables Behind the Scenes
    6. Pivot Table Backward Compatibility
      1. A Word About Compatibility
    7. Next Steps
  13. 2. Creating a Basic Pivot Table
    1. Preparing Data for Pivot Table Reporting
      1. Ensuring That Data Is in a Tabular Layout
      2. Avoiding Storing Data in Section Headings
      3. Avoiding Repeating Groups as Columns
      4. Eliminating Gaps and Blank Cells in the Data Source
      5. Applying Appropriate Type Formatting to Fields
      6. Summary of Good Data Source Design
    2. How to Create a Basic Pivot Table
      1. Adding Fields to a Report
      2. Fundamentals of Laying Out a Pivot Table Report
      3. Adding Layers to a Pivot Table
      4. Rearranging a Pivot Table
      5. Creating a Report Filter
    3. Understanding the Recommended Pivot Table Feature
    4. Using Slicers
      1. Creating a Standard Slicer
      2. Creating a Timeline Slicer
    5. Keeping Up with Changes in the Data Source
      1. Dealing with Changes Made to the Existing Data Source
      2. Dealing with an Expanded Data Source Range Due to the Addition of Rows or Columns
    6. Sharing the Pivot Cache
    7. Saving Time with New Pivot Table Tools
      1. Deferring Layout Updates
      2. Starting Over with One Click
      3. Relocating a Pivot Table
    8. Next Steps
  14. 3. Customizing a Pivot Table
    1. Making Common Cosmetic Changes
      1. Applying a Table Style to Restore Gridlines
      2. Changing the Number Format to Add Thousands Separators
      3. Replacing Blanks with Zeros
      4. Changing a Field Name
    2. Making Report Layout Changes
      1. Using the Compact Layout
      2. Using the Outline Layout
      3. Using the Traditional Tabular Layout
      4. Controlling Blank Lines, Grand Totals, and Other Settings
    3. Customizing a Pivot Table’s Appearance with Styles and Themes
      1. Customizing a Style
      2. Modifying Styles with Document Themes
    4. Changing Summary Calculations
      1. Understanding Why One Blank Cell Causes a Count
      2. Using Functions Other Than Count or Sum
    5. Adding and Removing Subtotals
      1. Suppressing Subtotals with Many Row Fields
      2. Adding Multiple Subtotals for One Field
    6. Changing the Calculation in a Value Field
      1. Showing Percentage of Total
      2. Using % Of to Compare One Line to Another Line
      3. Showing Rank
      4. Tracking Running Total and Percentage of Running Total
      5. Displaying a Change from a Previous Field
      6. Tracking the Percentage of a Parent Item
      7. Tracking Relative Importance with the Index Option
    7. Next Steps
  15. 4. Grouping, Sorting, and Filtering Pivot Data
    1. Automatically Grouping Dates
      1. Undoing Automatic Grouping
      2. Understanding How Excel 2016 Decides What to Group
      3. Grouping Date Fields Manually
      4. Including Years When Grouping by Months
      5. Grouping Date Fields by Week
      6. Grouping Numeric Fields
    2. Using the PivotTable Fields List
      1. Docking and Undocking the PivotTable Fields List
      2. Rearranging the PivotTable Fields List
      3. Using the Areas Section Drop-Downs
    3. Sorting in a Pivot Table
      1. Sorting Customers into High-to-Low Sequence Based on Revenue
      2. Using a Manual Sort Sequence
      3. Using a Custom List for Sorting
    4. Filtering a Pivot Table: An Overview
    5. Using Filters for Row and Column Fields
      1. Filtering Using the Check Boxes
      2. Filtering Using the Search Box
      3. Filtering Using the Label Filters Option
      4. Filtering a Label Column Using Information in a Values Column
      5. Creating a Top-Five Report Using the Top 10 Filter
      6. Filtering Using the Date Filters in the Label Drop-down
    6. Filtering Using the Filters Area
      1. Adding Fields to the Filters Area
      2. Choosing One Item from a Filter
      3. Choosing Multiple Items from a Filter
      4. Replicating a Pivot Table Report for Each Item in a Filter
      5. Filtering Using Slicers and Timelines
      6. Using Timelines to Filter by Date
      7. Driving Multiple Pivot Tables from One Set of Slicers
    7. Next Steps
  16. 5. Performing Calculations in Pivot Tables
    1. Introducing Calculated Fields and Calculated Items
      1. Method 1: Manually Add a Calculated Field to the Data Source
      2. Method 2: Use a Formula Outside a Pivot Table to Create a Calculated Field
      3. Method 3: Insert a Calculated Field Directly into a Pivot Table
    2. Creating a Calculated Field
    3. Creating a Calculated Item
    4. Understanding the Rules and Shortcomings of Pivot Table Calculations
      1. Remembering the Order of Operator Precedence
      2. Using Cell References and Named Ranges
      3. Using Worksheet Functions
      4. Using Constants
      5. Referencing Totals
      6. Rules Specific to Calculated Fields
      7. Rules Specific to Calculated Items
    5. Managing and Maintaining Pivot Table Calculations
      1. Editing and Deleting Pivot Table Calculations
      2. Changing the Solve Order of Calculated Items
      3. Documenting Formulas
    6. Next Steps
  17. 6. Using Pivot Charts and Other Visualizations
    1. What Is a Pivot Chart...Really?
    2. Creating a Pivot Chart
      1. Understanding Pivot Field Buttons
    3. Keeping Pivot Chart Rules in Mind
      1. Changes in the Underlying Pivot Table Affect a Pivot Chart
      2. Placement of Data Fields in a Pivot Table Might Not Be Best Suited for a Pivot Chart
      3. A Few Formatting Limitations Still Exist in Excel 2016
    4. Examining Alternatives to Using Pivot Charts
      1. Method 1: Turn the Pivot Table into Hard Values
      2. Method 2: Delete the Underlying Pivot Table
      3. Method 3: Distribute a Picture of the Pivot Chart
      4. Method 4: Use Cells Linked Back to the Pivot Table as the Source Data for the Chart
    5. Using Conditional Formatting with Pivot Tables
      1. An Example of Using Conditional Formatting
      2. Preprogrammed Scenarios for Condition Levels
    6. Creating Custom Conditional Formatting Rules
    7. Next Steps
  18. 7. Analyzing Disparate Data Sources with Pivot Tables
    1. Using the Internal Data Model
      1. Building Out Your First Data Model
      2. Managing Relationships in the Data Model
      3. Adding a New Table to the Data Model
      4. Removing a Table from the Data Model
      5. Creating a New Pivot Table Using the Data Model
      6. Limitations of the Internal Data Model
    2. Building a Pivot Table Using External Data Sources
      1. Building a Pivot Table with Microsoft Access Data
      2. Building a Pivot Table with SQL Server Data
    3. Leveraging Power Query to Extract and Transform Data
      1. Power Query Basics
      2. Understanding Query Steps
      3. Refreshing Power Query Data
      4. Managing Existing Queries
      5. Understanding Column-Level Actions
      6. Understanding Table Actions
      7. Power Query Connection Types
    4. Next Steps
  19. 8. Sharing Pivot Tables with Others
    1. Designing a Workbook as an Interactive Web Page
    2. Sharing a Link to a Web Workbook
    3. Sharing with Power BI
      1. Preparing Data for Power BI
      2. Importing Data to Power BI
      3. Building a Report in Power BI
      4. Using Q&A to Query Data
      5. Sharing Your Dashboard
    4. Next Steps
  20. 9. Working with and Analyzing OLAP Data
    1. Introduction to OLAP
    2. Connecting to an OLAP Cube
    3. Understanding the Structure of an OLAP Cube
    4. Understanding the Limitations of OLAP Pivot Tables
    5. Creating an Offline Cube
    6. Breaking Out of the Pivot Table Mold with Cube Functions
      1. Exploring Cube Functions
    7. Adding Calculations to OLAP Pivot Tables
      1. Creating Calculated Measures
      2. Creating Calculated Members
      3. Managing OLAP Calculations
      4. Performing What-If Analysis with OLAP Data
    8. Next Steps
  21. 10. Mashing Up Data with Power Pivot
    1. Understanding the Benefits and Drawbacks of Power Pivot and the Data Model
      1. Merging Data from Multiple Tables Without Using VLOOKUP
      2. Importing 100 Million Rows into a Workbook
      3. Creating Better Calculations Using the DAX Formula Language
      4. Other Benefits of the Power Pivot Data Model in All Editions of Excel
      5. Benefits of the Full Power Pivot Add-in with Excel Pro Plus
      6. Understanding the Limitations of the Data Model
    2. Joining Multiple Tables Using the Data Model in Regular Excel 2016
      1. Preparing Data for Use in the Data Model
      2. Adding the First Table to the Data Model
      3. Adding the Second Table and Defining a Relationship
      4. Tell Me Again—Why Is This Better Than Doing a VLOOKUP?
      5. Creating a New Pivot Table from an Existing Data Model
      6. Getting a Distinct Count
    3. Using the Power Pivot Add-in Excel 2016 Pro Plus
      1. Enabling Power Pivot
      2. Importing a Text File Using Power Query
      3. Adding Excel Data by Linking
      4. Defining Relationships
      5. Adding Calculated Columns Using DAX
      6. Building a Pivot Table
    4. Understanding Differences Between Power Pivot and Regular Pivot Tables
    5. Using DAX Calculations
      1. Using DAX Calculations for Calculated Columns
      2. Using DAX to Create a Calculated Field in a Pivot Table
      3. Filtering with DAX Calculated Fields
      4. Defining a DAX Calculated Field
      5. Using Time Intelligence
    6. Next Steps
  22. 11. Dashboarding with Power View and 3D Map
    1. Preparing Data for Power View
    2. Creating a Power View Dashboard
      1. Every New Dashboard Element Starts as a Table
      2. Subtlety Should Be Power View’s Middle Name
      3. Converting a Table to a Chart
      4. Adding Drill-down to a Chart
      5. Beginning a New Element by Dragging a Field to a Blank Spot on the Canvas
      6. Filtering One Chart with Another One
      7. Adding a Real Slicer
      8. Understanding the Filters Pane
      9. Using Tile Boxes to Filter a Chart or a Group of Charts
    3. Replicating Charts Using Multiples
    4. Showing Data on a Map
    5. Using Images
    6. Changing a Calculation
    7. Animating a Scatter Chart over Time
    8. Some Closing Tips on Power View
    9. Analyzing Geographic Data with 3D Map
      1. Preparing Data for 3D Map
      2. Geocoding Data
      3. Building a Column Chart in 3D Map
      4. Navigating Through the Map
      5. Labeling Individual Points
      6. Building Pie or Bubble Charts on a Map
      7. Using Heat Maps and Region Maps
      8. Exploring 3D Map Settings
      9. Fine-Tuning 3D Map
      10. Animating Data over Time
      11. Building a Tour
      12. Creating a Video from 3D Map
    10. Next Steps
  23. 12. Enhancing Pivot Table Reports with Macros
    1. Why Use Macros with Pivot Table Reports
    2. Recording a Macro
    3. Creating a User Interface with Form Controls
    4. Altering a Recorded Macro to Add Functionality
      1. Inserting a Scrollbar Form Control
    5. Next Steps
  24. 13. Using VBA to Create Pivot Tables
    1. Enabling VBA in Your Copy of Excel
    2. Using a File Format That Enables Macros
    3. Visual Basic Editor
    4. Visual Basic Tools
    5. The Macro Recorder
    6. Understanding Object-Oriented Code
    7. Learning Tricks of the Trade
      1. Writing Code to Handle a Data Range of Any Size
      2. Using Super-Variables: Object Variables
      3. Using With and End With to Shorten Code
    8. Understanding Versions
    9. Building a Pivot Table in Excel VBA
      1. Adding Fields to the Data Area
      2. Formatting the Pivot Table
    10. Dealing with Limitations of Pivot Tables
      1. Filling Blank Cells in the Data Area
      2. Filling Blank Cells in the Row Area
      3. Preventing Errors from Inserting or Deleting Cells
      4. Controlling Totals
      5. Converting a Pivot Table to Values
    11. Pivot Table 201: Creating a Report Showing Revenue by Category
      1. Ensuring That Tabular Layout Is Utilized
      2. Rolling Daily Dates Up to Years
      3. Eliminating Blank Cells
      4. Controlling the Sort Order with AutoSort
      5. Changing the Default Number Format
      6. Suppressing Subtotals for Multiple Row Fields
      7. Copying a Finished Pivot Table as Values to a New Workbook
      8. Handling Final Formatting
      9. Adding Subtotals to Get Page Breaks
      10. Putting It All Together
    12. Calculating with a Pivot Table
      1. Addressing Issues with Two or More Data Fields
      2. Using Calculations Other Than Sum
      3. Using Calculated Data Fields
      4. Using Calculated Items
      5. Calculating Groups
      6. Using Show Values As to Perform Other Calculations
    13. Using Advanced Pivot Table Techniques
      1. Using AutoShow to Produce Executive Overviews
      2. Using ShowDetail to Filter a Recordset
      3. Creating Reports for Each Region or Model
      4. Manually Filtering Two or More Items in a Pivot Field
      5. Using the Conceptual Filters
      6. Using the Search Filter
      7. Setting Up Slicers to Filter a Pivot Table
    14. Using the Data Model in Excel 2016
      1. Adding Both Tables to the Data Model
      2. Creating a Relationship Between the Two Tables
      3. Defining the Pivot Cache and Building the Pivot Table
      4. Adding Model Fields to the Pivot Table
      5. Adding Numeric Fields to the Values Area
      6. Putting It All Together
    15. Next Steps
  25. 14. Advanced Pivot Table Tips and Techniques
    1. Tip 1: Force Pivot Tables to Refresh Automatically
    2. Tip 2: Refresh All Pivot Tables in a Workbook at the Same Time
    3. Tip 3: Sort Data Items in a Unique Order, Not Ascending or Descending
    4. Tip 4: Turn Pivot Tables into Hard Data
    5. Tip 5: Fill the Empty Cells Left by Row Fields
      1. Option 1: Implement the Repeat All Data Items Feature
      2. Option 2: Use Excel’s Go To Special Functionality
    6. Tip 6: Add a Rank Number Field to a Pivot Table
    7. Tip 7: Reduce the Size of Pivot Table Reports
      1. Delete the Source Data Worksheet
    8. Tip 8: Create an Automatically Expanding Data Range
    9. Tip 9: Compare Tables Using a Pivot Table
    10. Tip 10: AutoFilter a Pivot Table
    11. Tip 11: Force Two Number Formats in a Pivot Table
    12. Tip 12: Create a Frequency Distribution with a Pivot Table
    13. Tip 13: Use a Pivot Table to Explode a Data Set to Different Tabs
    14. Tip 14: Apply Restrictions on Pivot Tables and Pivot Fields
      1. Pivot Table Restrictions
      2. Pivot Field Restrictions
    15. Tip 15: Use a Pivot Table to Explode a Data Set to Different Workbooks
    16. Next Steps
  26. 15. Dr. Jekyll and Mr. GetPivotData
    1. Avoiding the Evil GetPivotData Problem
      1. Preventing GetPivotData by Typing the Formula
      2. Simply Turning Off GetPivotData
      3. Speculating on Why Microsoft Forced GetPivotData on Us
    2. Using GetPivotData to Solve Pivot Table Annoyances
      1. Building an Ugly Pivot Table
      2. Building the Shell Report
      3. Using GetPivotData to Populate the Shell Report
      4. Updating the Report in Future Months
    3. Conclusion
  27. Index
  28. Code Snippets
3.22.249.48