5/1/2015 1 Quick and Dirty Excel® Workbooks Without DDE or ODS Andrea Zimmerman, Capital One, Richmond, VA.

Slides:



Advertisements
Similar presentations
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T3 PROBLEM SOLVING USING EXCEL.
Advertisements

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.
Decision Analysis Tools in Excel
Understanding Microsoft Excel
Using Excel to Understand Your Data Clayton County Public Schools Department of Research, Evaluation and Assessment Assistant Principal In-Service.
Excel Formatting and Editing Worksheets Microsoft Office 2010 Fundamentals 1.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Spreadsheets and Non- Spatial Databases Unit 4: Module 15, Lecture 2- Advanced Microsoft Excel.
Excel What’s so great about PivotTable reports?. Course contents Overview: More data than you can handle? Lesson 1: Make your data work for you Lesson.
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.
Microsoft ® Office Excel ® 2007 Training Get started with PivotTable ® reports [Your company name] presents:
Chapter 7 Data Management. Agenda Database concept Import data Input and edit data Sort data Function Filter data Create range name Calculate subtotal.
Microsoft Excel 2010 Chapter 8
Microsoft Excel Tutorial. Spreadsheet Basics! The Microsoft Excel Window  When you open Microsoft Excel, this screen will appear. Then, if necessary,
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
1 Excel Lesson 2 Formatting and Editing Worksheets Microsoft Office 2010 Fundamentals Story / Walls.
Problem Solving Using Excel
Analysing Data with Excel Importing Data from a Text File To import data from a text file: 1.Start Excel. 2.Click File, click New, click Workbook,
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. 3-1 Office Excel 2007 Lab 3 Managing and Analyzing a Workbook.
PIVOT TABLES AND CHARTS CS1100 Computer Science and its Applications CS1100Pivot tables and charts1.
Class Agenda Excel  PivotTables Excel & Word Integration Try PivotTable tutorial & work on Assignment #1.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
1 Lesson 18 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
In Business Series © Prentice Hall Microsoft Office Excel 2007 In Business Core Chapter 2 Excel Basics.
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,
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.
1 PivotTables and Pivot Charts Cookie Setton for lesson downloads.
EXCEL CHAPTER 6. OBJECTIVES Create a PivotTable Change the values field Modify and Format PivotTable Create a PivotChart 2.
1 Lesson 13 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T3: Problem Solving Using Excel 2007.
Project 5 Creating Interactive Pivot Table Reports and Charts Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business Administration.
Understanding Microsoft Excel Lesson 1 – Microsoft Excel 2013.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
PIVOT TABLES AND CHARTS Leena Razzaq CS1100 Computer Science and its Applications CS1100Pivot tables and charts1.
Excel Introduction to computers. Excel 2007 Starting the Excel program.
COM: 111 Introduction to Computer Applications Department of Information & Communication Technology Panayiotis Christodoulou.
Microsoft ® Excel ® 2013 Enhanced Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts.
By Martha Nelson Digital Learning Specialist Excel Pivot Tables.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Build your Metadata with PROC CONTENTS and ODS OUTPUT Louise S. Hadden Abt Associates Inc.
Chapter 8 Working with Trendlines, PivotTable Reports, PivotChart Reports, and Slicers Microsoft Excel 2013.
Understanding Microsoft Excel
Problem Solving Using Excel
Understanding Microsoft Excel
Understanding Microsoft Excel
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
PIVOT TABLE BASICS.
TDA Direct Certification
Excel for EMIS A few of my favorite things
Microsoft Excel.
Microsoft Excel 101.
Understanding Microsoft Excel
PivotTables in Excel (2007)
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Adam Little 3/10/2018 [website]
Topic 8 – Pivot tables and Charts Lesson 1 – Pivot tables
Understanding Microsoft Excel
REACH Computer Resource Center
Tutorial 8 Sharing, Integrating, and Analyzing Data
Assignment resource Working with Excel Tables, PivotTables, and Pivot Charts Fairhurst pp The commands on these slides work with the Week 2 Excel.
Presentation transcript:

5/1/ Quick and Dirty Excel® Workbooks Without DDE or ODS Andrea Zimmerman, Capital One, Richmond, VA

5/1/ Introduction “Efficiency is intelligent laziness” - David Dunham I have avoided learning DDE, Microsoft has warned they may cut it off at any time. I haven’t had the time to learn ODS and the XLtagset.

5/1/ PROC EXPORT The Data %let dir=C:\My Documents\2011 SAS paper\Excel\; %let file=template.xls; proc export data=sashelp.shoes outfile= “&dir.&file” dbms=excel replace; sheet=“shoe_data”; run; options noxsync noxwait; %sysexec &dir.&file; This will create the initial workbook and open it.

Not Very Pretty…

5/1/ Format and Build The Workbook Adjust column widths AutoFilter Freeze Panes Hide columns Color columns

5/1/ Format and Build The Workbook

5/1/ Format and Build The Workbook Build graphs Note in the function that it is referencing data cells. Right now, this shows the sales for the Addis Ababa data since it is in rows 2 through 9.

5/1/ Format and Build The Workbook Create a named range that adjusts to the amount of data. 1.Click Insert. 2.Highlight Name. 3.Select Define… 4.Name the range whatever you want (For example ShoeData). 5.Type this formula in the bottom text box (assumes shoe_data is the name of the tab): =OFFSET(shoe_data!$A$1,0,0,COUNTA(shoe_data!$A:$A),COUNTA(sh oe_data!$1:$1)) 6.Click OK.

5/1/ Format and Build The Workbook Create a pivot table using the named range. 1.Click Data. 2.Select PivotTable and PivotChart Wizard. 3.Click Next. 4.Replace the value of Range with the named range created earlier. 5.Click Next. 6.Click Finish. 7.Drag Region to be a Row Field. 8.Drag Product to be a Column Field. 9.Drag Sales to be a Data Item.

5/1/ Format and Build The Workbook

5/1/ Clear The Data and Save As… Once everything is set, delete the data from all tabs. Graphs will be empty, but the pivot tables will stay. Save as a name you’ll remember. I recommend including TEMPLATE so you remember the purpose.

5/1/ The X Command In your SAS code, before your PROC EXPORT, insert this code: options noxwait xsync; x copy “&dir.&file” “&dir.shoe_data_&today..xls”; Now you have a copy of the template with today’s date as part of the name. The template remains unchanged.

5/1/ Subset the Data Now we can subset the data data womens; set sashelp.shoes; if Product=:”Women’s”; run;

5/1/ Subset the Data Now we can Export this to our workbook: options noxwait xsync; x copy “&dir.&file” “&dir.shoe_data_&today..xls”; proc export data=womens outfile=“&dir.shoe_data_&today..xls” dbms=excel replace; sheet=”shoe_data”; run;

5/1/ New Workbook Note that this is just the Women’s products

5/1/ New Workbook You have to Refresh the Data in the pivot table when you open it.

5/1/ LIVE DEMO

5/1/ Conclusion Doesn’t have all the grace and finesse of DDE or ODS and it does have some limitations. It’s very fast to learn and master. For the majority of my reporting needs it is more than sufficient. A little VBA programming or conditional formatting can overcome any limitations that I’ve discovered. – If those are tools you already know, then this is a real time saver.

5/1/ Acknowledgement SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies.

How to Join Us Be an Attendee Invest in your future Expand your skills Get more value to yourself and your Company Follow us on #SESUG2014

How to Join Us Be an Attendee Invest in your future Expand your skills Get more value to yourself and your Company Follow us on #SESUG2014