Excel Reports: Formulas or PivotTables

Similar documents
VLOOKUP vs. SUMIFS. Battle of the Excel Heavyweights. made with

Table of Contents. 1. Cover Page 2. Quote 3. Calculated Fields 4. Show Values As 5. Multiple Data Values 6. Enroll Today!

Today Function. Note: If you want to retrieve the date and time that the computer is set to, use the =NOW() function.

Excel Tip: How to sum a column based on multiple conditions or criteria in other columns

Microsoft Office Excel 2007

Advanced Excel Charts : Tables : Pivots

Microsoft Excel Level 2

1. What is a PivotTable? What is a Cross Tab Report?

My Top 5 Formulas OutofhoursAdmin

FSFOA EXCEL INSTRUCTIONS. Tips and Shortcuts

Sort, Filter, Pivot Table

PIVOT TABLES IN MICROSOFT EXCEL 2016

Pivot Tables in Excel Contents. Updated 5/19/2016

PivotTables & Charts for Health

New Perspectives on Microsoft Excel Module 5: Working with Excel Tables, PivotTables, and PivotCharts

Create a PivotTable. If you prefer to design the PivotTable yourself, you can create a manual PivotTable.

Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts. Microsoft Excel 2013 Enhanced

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands.

Preview from Notesale.co.uk Page 2 of 61

Vlookup and Sumif Formulas to assist summarizing queried data

Lesson 4: Auditing and Additional Formulas. Return to the FastCourse Excel 2007 Level 3 book page

Create a Relationship to build a Pivot Table

Functions are predefined formulas that perform calculations by using specific values, called arguments, in a particular order, or structure.

Candy is Dandy Project (Project #12)

SBCUSD IT Training Program. MS Excel lll. VLOOKUPS, PivotTables, Macros, and More

Empower and invest in yourself WORKBOOK MICROSOFT EXCEL INTERMEDIATE

MS Office 2016 Excel Pivot Tables - notes

Microsoft Excel Pivot Tables & Pivot Table Charts

Microsoft Power Tools for Data Analysis #04: Power Query: Import Multiple Excel Files & Combine (Append) into Proper Data Set.

Light Speed with Excel

ITS Training Class Charts and PivotTables Using Excel 2007

PHLI Instruction (734) Introduction. Lists.

Excel Tables and Pivot Tables

Microsoft Excel 2013/2016 Pivot Tables

Excel Wizardry. Presented By: Kevin Lorentzen. City of Bellevue

Creating Automated Dashboard Excel 2013 Contents

Excel Tables & PivotTables

MICROSOFT EXCEL VERSION 2007 & 2010 LEVEL 4. WWP Learning and Development Ltd Page 1

Microsoft Office Excel Create a worksheet group. A worksheet group. Tutorial 6 Working With Multiple Worksheets and Workbooks

Rows area Values area

Excel Comics. Why read boring ebooks! Volume 1. Page 1 of 21

Working with Basic Functions. Basic Functions. Excel 2010 Working with Basic Functions. The Parts of a Function. Page 1

INSERT SUBTOTALS Database Exercise Sort the Data Department Department Data Tab Sort and Filter Group

Microsoft Excel 2016 LEVEL 3

FV Function Example Word Problem 1:

Top 20 Excel Limitations that might Frustrate You!

10 Ways To Efficiently Analyze Your Accounting Data in Excel

Excel Forecasting Tools Review

Free ebooks ==>

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013

Excel Advanced

Excel Shortcuts Increasing YOUR Productivity

2) Excel Basics 5: Power of PivotTables to Create Reports with Various Calculations & Layouts. Page 1 of 21

Mathematical Operators for Excel

DESCRIPTION 1 TO DEFINE A NAME 2. USING RANGE NAMES 2 Functions 4 THE IF FUNCTION 4 THE VLOOKUP FUNCTION 5 THE HLOOKUP FUNCTION 6

1. Two types of sheets used in a workbook- chart sheets and worksheets

Excel. Excel Options click the Microsoft Office Button. Go to Excel Options

Sage 300 Intelligence Reporting Editing an Existing Report Template to include Dynamic Ranges

Tips & Tricks: MS Excel

Excel Level 3 - Advanced

Status Bar: Right click on the Status Bar to add or remove features.

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex

Microsoft Office Excel 2010: Intermediate (R2) Course Overview. Course Outline

Pivot Tables and Pivot Charts Activities

Objective: Class Activities

Ms excel. The Microsoft Office Button. The Quick Access Toolbar

In this chapter, I introduce you to Excel s statistical functions and data. Understanding Excel s Statistical Capabilities. Chapter 2.

2. To select a range of individual cells, hold down CTRL and click on each cell that you want to include in the range.

WAAT-PivotTables Accounting Seminar

Microsoft Excel Pivot Tables & Pivot Table Charts

Introduction to the workbook environment

Jump Right In! Essential Computer Skills Using Microsoft 2013 By Andrews, Dark, and West

Create a Relationship to build a Pivot Table

Streamlined Reporting with

EXCEL BASICS. Helen Mills META Solutions

Excel 2007: Functions and Forumlas Learning Guide

Excel Formulas 2018 Cindy Kredo Page 1 of 23

ASMC Professional Development Institute, Anaheim, CA. Teksouth Corp.

M i c r o s o f t E x c e l A d v a n c e d P a r t 3-4. Microsoft Excel Advanced 3-4

MODULE VI: MORE FUNCTIONS

EXCEL ADVANCED Linda Muchow

Checking whether the protocol was followed: gender and age 51

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2010

Starting Excel application

Quick Guide for Excel 2015 Data Management November 2015 Training:

Microsoft Office Excel 2013

GO! with Microsoft Excel 2016 Comprehensive

Data. Selecting Data. Sorting Data

More Skills 12 Create Web Queries and Clear Hyperlinks

Excel 2016: Formulas & Functions

Excel Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts. 6. You can use a table s sizing handle to add columns or rows to a table.

Microsoft Excel 2010 Step-by-Step Exercises PivotTables and PivotCharts: Exercise 1

Cheltenham Courseware Microsoft Excel 2007 Advanced Level

The subject of this chapter is the pivot table, the name given to a special

Microsoft Office Illustrated. Getting Started with Excel 2007

To complete this workbook, you will need the following file:

EXCEL PRACTICE 5: SIMPLE FORMULAS

Module 4 : Spreadsheets

COMM 391 Winter 2014 Term 1. Tutorial 1: Microsoft Excel - Creating Pivot Table

How to insert table in Excel?

Transcription:

Excel Reports: Formulas or PivotTables

TABLE OF CONTENTS 1. Cover Page 2. The Great... 3. Formula-based Reports with SUMIFS 4. Pivot Tables 5. Comparison

The great...is a success of little things that are brought together. Vincent Van Gogh

Formula-based Reports with SUMIFS The SUMIFS function is for sure, without a doubt, one of my most favorite Excel functions of all time. I m sure I use it in well over half of my workbooks, and it is a must-know function for Excel users. I ll try to get you warmed up, but just know that this ebook only gets you started. The amount of flexibility, utility, and application of this function goes far beyond what we can cover here. Officially, this function is known as a conditional summing function. It is similar to the SUM function because it adds stuff up. But, it allows us to specify conditions for what to include in the result. For example, add up the amount column of numbers, but, only include those rows where the account is equal to travel. Or, add up the quantity column of numbers, but only include those rows where the sku is equal to A500. These single condition examples could have easily been handled with the SUMIF function, which has been around for years. However, multiple condition summing with the SUMIFS function was first introduced in Excel 2007. You see, SUMIFS ends with an S, and is like the plural of SUMIF. SUMIF handles a single condition, SUMIFS handles up to 127 conditions. That is multiple conditional summing baby. An example of multiple condition summing is: add up the amount column, but only include those rows where the department is equal to finance and where the region is equal to north. This function also supports single condition statements, so I use it as a replacement for the SUMIF function, and I no longer use SUMIF. I use SUMIFS instead because I know I can easily modify it if additional conditions come up over time. Let s take a look at the function s syntax, and then I ll show a quick example. Syntax The function has the following syntax: =SUMIFS(sum_range, criteria_range1, criteria1, ) Where:

sum_range is the range of numbers to add criteria_range1 is the range that contains the values to evaluate criteria1 is the value that criteria_range1 must meet to be included in the sum up to 127 total criteria_range/criteria pairs are allowed The function s first argument is the range of numbers to add. For example, the amount column. If the amount column is in range A1:A100, then it would look like this: =SUMIFS(A1:A100, ) The remaining arguments come in pairs. First, the criteria range and then the criteria value. So, as you write the formula, it may sound like this: add up the amount column, but only include those rows where the department column is equal to finance. The argument pair for the condition is the range that represents the department column and then the criteria value finance. If the department column is in range B1:B100, then the function would look like this: =SUMIFS(A1:A100, B1:B100, finance ) Although, I really do not like hard-coding function arguments in the function as I did above with the finance argument. This, in my opinion, is poor design. These values should instead be placed in cells and then referenced in the function. So, if the finance value was stored in cell C1, then, the function would look like this: =SUMIFS(A1:A100, B1:B100, C1) If needed, additional criteria argument pairs can be added to perform multiple condition sums. Let s do an example. Let s pretend that the amount data is stored in D21:D44, that the Region data is stored in B21:B44, and the Department data is stored in C21:C44. Now, let s say that we wanted to build a small summary report. We could place the region and dept labels into some cells, and then use a SUMIFS function to aggregate the totals based on the data. The following screenshot provides the idea.

The formula used in D10, and filled down through D15 is: =SUMIFS($D$21:$D$44,$B$21:$B$44,B10,$C$21:$C$44,C10) Where:

$D$21:$D$44 is the column of numbers to add, the amount column $B$21:$B$44 is the first criteria range, the region column B10 is the first criteria value, the region $C$21:$C$44 is the second criteria range, the department column C10 is the second criteria value, the dept. This is a pretty simple example, I know, but hopefully it clearly demonstrates how the function arguments are set up. Understanding them is the key to using this function. This function is truly a gift from Microsoft, and I hope you find it as useful as I have!

Pivot Tables PivotTable reports summarize data, and the data source may contain several columns or fields. After visualizing the desired report, you insert a new PivotTable into the worksheet. You define the basic report structure simply by inserting fields into the layout areas, rows, columns, values, and filters. With that basic overview in mind, let s explore the details by creating a department report from transactions we exported from our accounting system. Let s start by examining the transactions we want to summarize. Our data source is shown below. Wanting to summarize the data by department, we visualize a report with department and amount columns. After selecting any single cell in the data source range, we use the following Ribbon command to open the Create PivotTable dialog shown below. Insert > PivotTable

Excel needs two pieces of information, the location of the data we want to analyze and the location of the PivotTable. If the data is stored in the workbook, we select the appropriate table or range. If the data is stored outside of the workbook, we specify an external data source. Our data is stored in the workbook, so we specify the worksheet range. If we select a cell within the data source range before opening the dialog, Excel populates the range automatically, as shown above. Otherwise we can select or enter the range manually. Excel also needs to know if the report should be placed in a new or existing worksheet. If new, Excel will insert a new worksheet. If existing, Excel will need the location. Since we want our report to be placed on an existing worksheet, we select the desired worksheet cell to designate the upper-left corner of the report. The updated dialog box is shown below.

Once we identify the locations of both the data and the report, we click OK to insert the PivotTable. Let s take a moment to examine some of the resulting changes to our worksheet, shown below.

A new graphic was inserted at the specified report location, in our case, cell B9. The graphic is a temporary placeholder and will disappear once we begin building the report. A new PivotTable Tools tab appeared in the Ribbon. This tab is displayed as needed, and it is needed to manage the active PivotTable. If it disappears, just activate the PivotTable again by selecting any cell within the report. We ll explore this tab s many icons and options during the course of this volume. A new PivotTable Fields panel appeared and, similar to the Ribbon tab, is displayed as needed. It is needed to define the report. Notice the panel is split into two parts. The top half contains a list of fields with checkboxes. If we take a moment to compare the fields shown in Figure 7 with the source data shown in Figure 4, we ll see that the fields represent data columns. The bottom half of the panel includes the four areas we use to define the structure: rows, columns, values, and filters. Do these areas sound familiar? When we were examining the report in Figure 2, we recognized that the report could be described by what was displayed in these four areas. We will define the report simply by inserting fields into the layout areas. To define our department report, we just need to insert the correct fields into the correct areas. Knowing which fields to insert into which areas will take a little practice, so let me describe how I remember what goes where when building PivotTables. I start by listening for the keyword by because it usually indicates row fields. For example, I may want to see a report by department or by customer. This keyword suggests that the field belongs in the rows area. If you want to see the report by department, then the department field belongs in the rows area. If you want to see it by account, then the account field belongs in the rows area. Next, I identify numeric data columns because they usually represent value fields. For example, I may want to add an amount or quantity column. To build a report that shows the amount by department, you insert the department field into the rows area and the amount field into the values area.

I then consider column fields, which spread values across columns. For example, I may want to see one column for each department. To build a report that shows each account s amount spread across departments, you insert the account field into the rows area, the amount field into the values area, and the department field into the columns area. Last, I think about report filters. For example, I may want to view transactions for a specific department. The filters area allows you to control which data rows flow into the report. To build a report that shows the amount by account and provides a filter for departments, you would insert the account field into the rows area, the amount field into the values area, and the department field into the filters area. Now that we have a general idea of which fields belong in which areas, let s review several common ways to place fields into report areas. You can click and drag the field into the area, right-click the field and select the desired report area, or check the field s checkbox. If you check the checkbox, Excel inserts the field by guessing the most appropriate area. You can always drag and drop the field to the correct area if needed. Let s wrap up by completing our department report. Since we want to show amount by department, we insert the department field into the rows area and the amount field into the values area. We are presented with the report shown below.

Since we wanted to summarize the data by department, we initially visualized a report with department and amount columns. Even though we didn t write any formulas, here it is!

Comparison We discussed key differences between formula-based reports and PivotTables. Refresh Data When we insert new transactions into the data source table, values in formula-based reports are instantly and automatically recalculated. PivotTable reports need to be refreshed to update the report values. New Items in Data How formula-based and PivotTable reports handle new data items is one of the most exciting differences between the two types of reports. For example, let s say we append new transactions to the source table. Because the data is stored in a table, new transaction rows will be included in both report types without issue. Our focus is on how any new items, such as new accounts or regions, will be included in the report as new labels. For the following discussion, let s assume that we build a report to summarize the data by account and that the new transactions include a new account. A formula-based report will ignore the new account and exclude related transactions. To include the transactions, we must manually add the new report label and fill the amount formula into the new report row. A PivotTable report automatically displays the new report label, includes the related transactions, and expands its dimensions as needed. This is super cool and one of my favorite things about PivotTables. Labels without Data Formula-based reports typically have static report labels and formulas that retrieve related transactions. Report labels are displayed in the report even when there are no related transactions. PivotTable reports summarize the data, whatever it may be, according to the defined structure. If there are no transactions for an item, it will not appear in the PivotTable. Here s a question: if you need a report to display all accounts, even though selected accounts have no related transactions, which type is most appropriate? Yep, a formula-based report. I hope these help you use formula-based and PivotTable reports more effectively!

ENROLL TODAY