Referencing Pivot Table Cells with GetPivotData Robert Rosen.

Slides:



Advertisements
Similar presentations
Pivot Tables. What are Pivot Tables? A pivot table gives you a way to group, summarize and compare data from a spreadsheet You can do some of the same.
Advertisements

Pivot Tables Overview 1. What are Pivot Tables Pivot tables in Excel are a versatile reporting tool that makes it easy to extract information from large.
Naming in Excel. Excel Objects and Names Every Excel object is contained in a workbook A workbook is divided into worksheets (individual spreadsheets);
Intermediate Formulas & Functions Instructor: Rachel Baltus.
Slide No. 1 Chapter 1, Unit c Relative vs. Absolute Addressing in a Spreadsheet H Spreadsheet Address H Relative Address H Absolute Address H Examples.
Homework Discussion Homework 2 (Glade Manual Chapter 2) Using multiple worksheets in a model.
Financial Functions. Overview  Power of Excel = Calculations –Loan Calculations –Expense Calculations –Consolidate Values –Search for Values.
Enter formulas Use cell references Cell references identify individual cells or cell ranges in columns and rows. Cell references tell Excel where to look.
BUSINESS DRIVEN TECHNOLOGY Decision Analysis Tools in Excel
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T4 PROBLEM SOLVING USING EXCEL Goal Seek, Solver & Pivot Tables.
Using Microsoft ® Excel Formulas and Functions Start Microsoft ® Excel. Type data into cells as shown.
Pasewark & Pasewark 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2007: Introductory.
Pivot Tables ABDUL HAMEED
Pre-defined System Functions Simple IF & VLOOKUP.
Chapter 6: Pivot Tables Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Pivot Tables Need HW and exam. Why? A pivot table gives you a way to group, summarize and compare data in a spreadsheet. You can do the same tasks with.
EXCEL ADVANCED 1. Mathematical Operators for Excel < > = >=
Saving and Preparing School Finance Data from GEMS Expenditures Paul Taylor, OPI School Finance.
Saving and Preparing School Finance Data from GEMS Basic Setup & Revenues Paul Taylor, OPI School Finance.
Tutorial 7: Using Advanced Functions and Conditional Formatting
Lab 5: Pivot Tables / Pivot Charts Simon: Chapters 7 & 8 URBPL 5/6010: Urban Analysis University of Utah Pam Perlich.
Microsoft Excel 2003 Illustrated Complete Excel and Advanced Worksheet Management Customizing.
1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark.
CREATING SUBTOTALS IN EXCEL You own a sporting good store. Your store is divided into departments based on individual sports. You know how much.
Chapter 6: Pivot Tables Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
EXCEL ADVANCED 1. Mathematical Operators for Excel < > = >=
Technology Basics Creating Worksheet Formulas. 2 Understand Formulas Equations used to calculate values in cells are called formulas. Formulas consist.
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
Working with Reports in Microsoft Excel Session Version 1.0 © 2011 Aptech Limited.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
Prescriptive Analytics Appendix A EXCEL TOOLS FOR THE MANAGEMENT SCIENTIST Business Analytics with Management Science Models and Methods Arben Asllani.
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
DAY 9: EXCEL CHAPTER 6 Tazin Afrin September 17,
Excel Project 2 Formulas, Functions, and Formatting.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Chapter 6 Data Tables and Amortization Tables Exploring Microsoft Office Excel 2007.
Copying and Pasting Formulas and Functions Copying and Pasting Formulas and Functions, Slide 1Copyright © 2004, Jim Schwab, University of Texas at Austin.
Return To Index Excel Microsoft Excel Basics Lesson 12 Working With Tables Sorting Tabular DataSorting Tabular Data - 2 Copy - 4 Paste - 5 Sorting.
Excel: Pivot Tables Exploring Computer Science Lesson Supplemental.
EXCEL CHAPTER 6. OBJECTIVES Create a PivotTable Change the values field Modify and Format PivotTable Create a PivotChart 2.
Chapter 3: Referencing and Names Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Using Sheets To help with data. Sheets is a spreadsheet program that can interface with forms, docs, or presentations. A spreadsheet program has cells.
RevisionRevision Function in Spreadsheet DATE Returns the serial number of a particular date. Syntax –DATE(year,month,day) year is a number from 1900.
Excel Introduction to computers. Excel 2007 Starting the Excel program.
EXCEL SPREADSHEETS JULY 22, Excel Spreadsheets   Handouts:
Statistical Fundamentals: Using Microsoft Excel for Univariate and Bivariate Analysis Alfred P. Rovai Pivot Tables PowerPoint Prepared by Alfred P. Rovai.
By Martha Nelson Digital Learning Specialist Excel Pivot Tables.
Microsoft Office Tips Pivot tables. Agenda Learn how to create and use PivotTables Q&A Excel 2010 is very similar to 2007, I have tried to demonstrate.
MSAA PRESENTS: AN EXCEL TUTORIAL
MS EXCEL PART 4.
Exploring Computer Science Lesson Supplemental
International Computer Driving Licence Syllabus version 5.0
PIVOT TABLE BASICS.
Microsoft Office Illustrated
Microsoft Excel 2003 Illustrated Complete
Deep Dive Presented by Greg Creech MCAS-I and CompTIA CTT+
PivotTables in Excel (2007)
Evaluation Context Concepts and Examples.
Excel: PivotTables Participation Project
Adam Little 3/10/2018 [website]
Excel: Formulas & Functions I Participation Project
Introduction to Computer Applications West Virginia University
Lesson 1 Notes Chapter 6.
Excel: PivotTables Participation Project
Excel Lesson 4 Entering Worksheet Formulas
Lesson 2: Cell References
Pivot tables and charts
Microsoft Excel Basics: Pivot Tables
Microsoft EXCEL Basics
Mathematical Formulas and Excel
Presentation transcript:

Referencing Pivot Table Cells with GetPivotData Robert Rosen

GetPivotData example A reference to the Grand Total value in game 2 in this pivot table would be: =GETPIVOTDATA(“Yds",$A$1,“Game",2) Data field name Upper left cell of pivot table Column field name Column value

By default, clicking on a pivot table cell while entering a formula will insert a GetPivotData reference into the formula instead of a regular cell reference. You can change this behavior in Excel options:

Why use GetPivotData? Reason 1…

Suppose a data refresh adds 4 new rows to our pivot table A regular cell reference to a cell in the grand total row (formerly row 13, now row 17) won’t show the Grand Total any longer… but a GetPivotData reference will!

Note: In Our Previous Example… =GETPIVOTDATA("Yds",$R$197,"week",2) If you drag this reference one cell to the right to reference the value for fiscal month 3, the formula is not changed automatically. You have to manually change the 2 to 3.

Why use GetPivotData? Reason 2…

Suppose we want to add the values from these 2 tables for each week in 2 different years No data in the data source for this table for week 3 – Excel omits the column Sum of column values across tables is: Week 1 + Week 1 OK Week 2 + Week 2 OK Week 3 + Week 4..OOPS!

If week 3 is in column F and table #2 starts at row 12, we could say instead: =GETPIVOTDATA("Yds",$A$1,"week",3) + GETPIVOTDATA("Yds",$A$15,"week",3) Will produce a #REF! error (since the second GETPIVOTDATA reference is to something that doesn’t exist – a week 3 column in the second table)

The improved version: =IFERROR(GETPIVOTDATA("Yds",$A$1,"week",3) + GETPIVOTDATA("Yds",$A$15,"week",3), GETPIVOTDATA("Yds",$A$1,"week",3) ) i.e. if week 3 value in table 2 is missing, result is just the value in table 1 The IFERROR function takes two arguments: – The value to show if evaluating it doesn’t produce an error – The value to show otherwise

In Summary, GetPivotData References Can Adapt to changes in pivot table size/position Avoid potential erroneous results when referencing pivot tables with missing columns.