MEM Excel Workshop Advanced Sorting Pivot Table Introduction 4.5.2012.

Slides:



Advertisements
Similar presentations
Microsoft ® Office Excel ® 2007 Training Get started with PivotTable ® reports Sweetwater ISD presents:
Advertisements

Chapter 10 Excel: Data Handling or What do we do with all that data?
Objectives Explore a structured range of data Freeze rows and columns
Benchmark Series Microsoft Excel 2013 Level 2
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 2Creating Forms and Reports Chapter 6Creating Reports and Mailing Labels.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 1Advanced Formatting Techniques.
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T3 PROBLEM SOLVING USING EXCEL.
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.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Chapter 5 Creating, Sorting, and Querying a Table
Chapter 6: Pivot Tables Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Managing Grades with Excel Viewing Help To view Help 1.Open Excel on your computer. 2.In the top right hand corner of the Excel Screen type in the.
Sundara Ram Matta Feb 11 th, Sundara Ram Matta Feb 11 th, 2015
EXCEL ADVANCED 1. Mathematical Operators for Excel < > = >=
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 5 1 Microsoft Office Excel 2003 Tutorial 5 – Working With Excel Lists.
Chapter 7 Data Management. Agenda Database concept Import data Input and edit data Sort data Function Filter data Create range name Calculate subtotal.
Microsoft ® Office Excel ® 2003 Training How to use lists KLDCS presents:
Excel Web App By: Ms. Fatima Shannag.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
LOGO Chapter V Formattings 1. LOGO Overview  Conditional formatting  Working with tables  Filtering  Sorting  Freeze panes  Pivot tables  How to.
EXCEL ADVANCED 1. Mathematical Operators for Excel < > = >=
Lecture 7 Desktop Publishing IV – Spreadsheet Software Introduction to Information Technology With thanks to Dr. A. Zhang, Dr. Haipeng Guo, and Dr. David.
XP 1 Microsoft Office Excel 2003 Tutorial 3 – Working With Excel Lists.
Working with Data Lesson 7. Objectives Software Orientation: Excel’s Data Tab The command groups on Excel’s Data tab, shown in the figure below, enable.
Excel 2007 Part (2) Dr. Susan Al Naqshbandi
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.1 Exploring Microsoft Office Excel Copyright © 2008 Prentice-Hall. All rights.
Problem Solving Using Excel
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next Generation.
11 Exploring Microsoft Office Excel 2007 Chapter 4: Working with Large Worksheets and Tables Chapter 04 - Lecture Notes (CSIT 104)
October 2003Bent Thomsen - FIT 3-21 IT – som værktøj Bent Thomsen Institut for Datalogi Aalborg Universitet.
1 Data List Spreadsheets or simple databases - a different use of Spreadsheets Bent Thomsen.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
XP Agenda Video Last Class Excel Tutorial 5: Working with Excel Lists Agenda for Next Class 1 New Perspectives on Microsoft Office Excel 2003 Tutorial.
© Scott/Jones Publishing, Inc. 1 Chapter 21 Creating PivotTables and PivotCharts Excel 2003, Volume 2 by Karen J. Jolly.
Working with Reports in Microsoft Excel Session Version 1.0 © 2011 Aptech Limited.
Excel Chapters -5,6. Pivot Table  When you have a lot of data, it can sometimes be difficult to analyze all of the information in your worksheet.  PivotTables.
1 Lesson 18 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
IC 3 BASICS, Internet and Computing Core Certification Key Applications Lesson 11 Organizing the Worksheet.
Analysing Data with Excel Viewing Help To view Help 1.On the Start menu, point to Programs, and then click Microsoft Excel. 2.On the Help menu,
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 19 Organizing and Enhancing Worksheets 1 Morrison / Wells / Ruffolo.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
XP. Objectives Sort data and filter data Summarize an Excel table Insert subtotals into a range of data Outline buttons to show or hide details Create.
Excel Web App By: Ms. Fatima Shannag.
1 Lesson 13 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Spreadsheets What is Excel?. Objectives 1. Identify the parts of the Excel Screen 2. Identify the functions of a spreadsheet 3. Identify how spreadsheets.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T3: Problem Solving Using Excel 2007.
Microsoft® Excel Create an Excel table. 1 Work with the Table Tools Design tab. 2 Sort and filter records in a table. 3 Identify structured references.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
Extracting Information from an Excel List The purpose of creating a database, or list in Excel, is to be able to manipulate the data elements in ways that.
Chapter 10: Working with Large Data Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
An electronic document that stores various types of data.
Microsoft ® Excel ® 2013 Enhanced Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts.
Microsoft Excel 2007 Noris Bt. Ismail Faculty of Information and Communication Technology Tel : (Ext 8408) BCOMP0101.
CONDITIONAL FORMATTING AND CUSTOM NUMBER FORMATS LEC 5 1.
Chapter 8 Working with Trendlines, PivotTable Reports, PivotChart Reports, and Slicers Microsoft Excel 2013.
Problem Solving Using Excel
Formulas and Functions
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Microsoft Excel 2007 The L Line The Express Line to Learning L Line
Microsoft Office Illustrated
Topic 8 – Pivot tables and Charts Lesson 1 – Pivot tables
REACH Computer Resource Center
Bent Thomsen Institut for Datalogi Aalborg Universitet
Assignment resource Working with Excel Tables, PivotTables, and Pivot Charts Fairhurst pp The commands on these slides work with the Week 2 Excel.
Microsoft Excel 2007 – Level 2
Presentation transcript:

MEM Excel Workshop Advanced Sorting Pivot Table Introduction

Our workshop topics Excel 2010 running in a Windows environment. Advanced sorting techniques in Excel. An introduction to Pivot Table techniques. Material from INFORMATION MANAGEMENT, DEC483 A Duke MBA elective course.

What is structured data?

Unstructured data Human-friendly format. Excel-unfriendly format.

Structured data The same data as on the previous slide. Human-unfriendly format. Excel-friendly format.

A closer look Nothing is assumed!

4 characteristics of Excel structured data 1.The data is in a contiguous range; there are no entirely blank rows or columns. 2.First row contains column headers. 3.Each row is a record describing one item or transaction. (All cells in the row hold info about the same thing.) 4.Each column holds the same kind of data.

Can you recognize Excel structured data? Five questions 

1/5- Structured data?

2/5 - Structured data?

3/5 - Structured data?

4/5 - Structured data?

5/5 - Structured data?

Why structure is important Many Excel data management techniques require/look for structured data. SortSubtotal AutofilterPivot Table Advanced FilterDatabase Functions Group

Advanced Sorting Techniques in Excel 2010 Workshop topic 1 of 2

Excel has two sorting tools

There are lots of “sorting facts” Data can be sorted by row as well as by column. Custom sorts can be specified. Excel default sort order is: - smallest to largest numbers - special characters then alpha characters A-Z - FALSE before TRUE - Error values (all are equal) - Blanks With a descending sort, reverse all the above except blanks remain last.

Our sample data to sort Worksheet: Sort Data About this data: records. - All from Arizona. - All fields but “Office Code” are straightforward. About this data: records. - All from Arizona. - All fields but “Office Code” are straightforward.

Task 1: Apply 4 sorts to the data 1.Region: Sort ascending. 2.Store Status: Sort in the order NEWVEN, then ESTAB, and then OLDESTAB. 3.Day: Sort by cell color (first purple, then blue, and then green). 4.Quantity: Sort by icon set (first yellow, then green, and then red). Most important Least important Sort the data using the Sort Dialog in this order:

Special: The Day & Quantity columns These two columns are conditionally formatted* to help the user distinguish the cell contents visually. Here: By cell color and by icon. * Home tab, Styles group, “Conditional Formatting” button

For this demo we use Excel’s Sort Dialog When using the Sort dialog, the first sort described is the dominant sort. As additional sorts are defined in the dialog, their location indicates their importance in the sort hierarchy. The most important sort is defined first and the least important sort is defined last.

The first sort: Region We immediately encounter a problem. Region (and Store Status) are “hidden” inside the Office Code field. The 3 elements of data in this column must be separated out before we can sort by region.

Data granulation Does each column hold data that is broken down into its smallest useful component? The Office Code field holds THREE components. no

The Office Code field and its 3 elements

Parse the REGION variables Use a combination of TEXT category functions from Excel’s function library? Sometimes the only solution. But not this time.

We can use an easier method because …the data to be parsed is all in a regular pattern. The regular pattern: There are 3 elements in each cell. Each element is separated from the next by a hyphen.

Digression: Range selection tips Select a column range of data: 1. Click the first cell in the column. 2. Depress the SHIFT key. 3. Click the END key. 4. Click the DOWN ARROW key. Select an entire range of data: 1. Click any cell in the range. 2. Depress the CONTROL and SHIFT keys. 3. Tap the asterisk (8 *) key. Use variations of this sequence to select rows, multiple rows, multiple columns, etc. There are other key combinations that accomplish the same thing.

An easy way to parse the Office Code 1.Insert 2 empty columns to the right of Office Code. 2.Select all Office Code data values (not the header). 3.On the Data tab click the Text to Columns button.

Text to Columns Wizard

Set a hyphen as the delimiter

Text-to-Columns result Rename Office Code to Region. Add Population and Store Status headers. PopulationStore status

The Region sort specification Region is the first sort to specify in the “Sort” dialog. Specify it first: Excel will sort it last, after the other three sorts. Region

The 2 nd sort: Store Status Sort using this sort order: NEWVEN ESTAB OLDESTAB Store status How can a sort in this order be accomplished? The order we want is NOT A-Z or Z-A.

The 2 nd sort (Store Status) Solution Establish a custom sort order: NEWVEN ESTAB OLDESTAB Define an Excel custom list and then specify a sort by this custom list. Click the File tab and open the Excel options. Store status

Choose to “Edit Custom Lists…” Advanced Edit Custom Lists General

Enter the new list items

Add the 2 nd sort to the Sort dialog Select the custom list for this sort.

The third sort: By Day The Day column has conditional formatting applied. Conditional formatting is set in the “Styles” group on the HOME tab.

Day’s conditional formatting This is rule-based conditional formatting. Use the “Edit Rule…” button to make changes. Use “New Rule…” to add and “Delete Rule…” to delete.

Condit. format color assignments Last third of the month Middle third First third The Day falls in the: Use this color sort order: First color - Purple Second color - Blue Third color - Green

Add the 3 rd sort to the dialog It takes two levels to specify the third sort. BLUE is by default between On Top and On Bottom. Sort in the color order First: Purple Second: Blue Third: Green

Add the 4 th and final sort: Quantity Quantity is conditionally formatted with an icon set.

2 levels are required for Quantity Icon set sort order First: Yellow Second: Green Third: Red

Finally: Execute the sort

Sort result A partial view of the sorted data.

Advanced sort take aways Make data fields as granular as you need them to be. (TEXT TO COLUMNS) Create your own custom sort orders. Sort by Values, Cell Color, Font Color, or Icon.

Introduction to Excel’s Pivot Table Workshop topic 2 of 2

What is a Pivot Table?

Pivot Table Components (some are optional) At minimum: One row or column field and one value field. All other fields are optional.

Create a 2010 Pivot Table: Steps 1. On the “Insert” tab in the “Tables” group, click “PivotTable”. 2. Identify the source data. 3. Choose a location. continued

Create a Pivot Table, continued 4 Drag fields from the top of the Field List to the Field List layout area. Tip: If the Field List isn’t visible, click in the Pivot Table area, choose the “PivotTable Tools/Options” tab, find the “Show/Hide” group, and click “Field List”.

Our sample data

The worksheet in the demo file

We ask four questions about the NorthWind data and answer each question by building a Pivot Table. PIVOT TABLE DEMO

Question 1: Which item in the Condiments category has the worst sales?

Answer 1: Which item in the Condiments category has the worst sales? 1.Filter for the Condiments category only. 2.Sort Quantity values ascending.

To change the default Pivot Table Layout 1.Click in the Pivot Table. 2.Choose the “PivotTable Tools/Design” tab. 3.Find the “Layout” group and choose “Report Layout”. 4.Change from COMPACT to OUTLINE or TABULAR.

Question 2: Find the total quantity of Confections sold in 2008 and 2009?

Question 2 - Display the Confections category only by filtering “Row Labels” label. - Group dates by Year.

Part 2: Filter for 2 years only

Answer 2 The total quantity of Confections sold in 08 and 09

Question 3: In 2009 Quarter 1, which Seafood item sold the most units? - Change the default COMPACT layout to OUTLINE. - Group the Order Date field by both Years and Quarters. - Show the Seafood category only. - Limit Years to the last year (2009). - Limit the Quarter (Order Date) to 1. - Change the default COMPACT layout to OUTLINE. - Group the Order Date field by both Years and Quarters. - Show the Seafood category only. - Limit Years to the last year (2009). - Limit the Quarter (Order Date) to 1.

In 2009 Quarter 1, Konbu was the seafood item that sold the highest quantity. Answer 3

Points to notice so far To change the location of items in a Pivot Table (pivot), drag header names in the Field List. Focus IN or OUT using the drop-down icons to the right of field label names. If a date field contains many specific dates, group them to make analysis easier.

Q&A 4: Find the max AND average quantities of Produce products sold by Peacock in 2009 Values displayed in rows.

Initial Pivot Table take aways Pivot Table creation. Basic filtering. Setting the Values field summary operation. Sorting. Managing Grand Totals for Rows & Columns & Subtotals. Date grouping. Stacking multiple summary calculations. Values field formatting.

We add a custom calculation to a Pivot Table. PIVOT TABLE DEMO

The worksheet in the demo file

Why create a custom calculation?

Create a custom calculated field Add a % Growth from Previous” Field

How to

Format the new field Format the % Growth from Previous field to display as percentages.

Custom calculation take aways The Pivot Table has built-in calculation options. If none of the built-in options suit you, build your own custom calculations.

View Pivot Table data graphically (as a chart). PIVOT TABLE DEMO

The worksheet in the demo file

Pivot Table/Chart take aways Create a Pivot Chart by clicking anywhere in a Pivot Table and inserting a chart. Changing the Pivot Table changes the chart and vice-versa.

End of MEM Excel Demo Notes