Excel with SAS and Microsoft Excel



Similar documents
Integrating SAS and Excel: an Overview and Comparison of Three Methods for Using SAS to Create and Access Data in Excel

Choosing the Best Method to Create an Excel Report Romain Miralles, Clinovo, Sunnyvale, CA

SAS og Excel. Kender du fem forskellige måder at overføre data mellem SAS og Excel? Gert Nissen, seniorkonsulent

ABSTRACT INTRODUCTION SAS AND EXCEL CAPABILITIES SAS AND EXCEL STRUCTURES

Books-by-Users Web Development with SAS by Example (Third Edition) Frederick E. Pratter

Create an Excel report using SAS : A comparison of the different techniques

SAS 9.4 PC Files Server

Customized Excel Output Using the Excel Libname Harry Droogendyk, Stratia Consulting Inc., Lynden, ON

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

Methodologies for Converting Microsoft Excel Spreadsheets to SAS datasets

Improving Your Relationship with SAS Enterprise Guide

SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC

SAS/ACCESS 9.3 Interface to PC Files

Flat Pack Data: Converting and ZIPping SAS Data for Delivery

Using SAS Output Delivery System (ODS) Markup to Generate Custom PivotTable and PivotChart Reports Chevell Parker, SAS Institute

Aspose.Cells Product Family

Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide

Producing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA

It s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks.

Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS. Vincent DelGobbo, SAS Institute Inc.

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

How To Write A File System On A Microsoft Office (Windows) (Windows 2.3) (For Windows 2) (Minorode) (Orchestra) (Powerpoint) (Xls) (

Define ODBC Database Library using Management Console

Overview of sharing and collaborating on Excel data

SAS 9.4 Installation Instructions Summary

Using SAS Enterprise Business Intelligence to Automate a Manual Process: A Case Study Erik S. Larsen, Independent Consultant, Charleston, SC

Downloading, Configuring, and Using the Free SAS University Edition Software

I Didn t Know SAS Enterprise Guide Could Do That!

Printable Spreadsheets Made Easy: Utilizing the SAS Excel XP Tagset Rick Andrews, Office of the Actuary, CMS, Baltimore, MD

SAS Institute Exam A SAS BI Content Developmentfor SAS 9 Version: 7.0 [ Total Questions: 107 ]

Writing Data with Excel Libname Engine

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Apparo Fast Edit. Excel data import via 1 / 19

Power Update - Documentation Power Update Manager

300 Intelligence Reporting. Sage Intelligence Reporting Customer Frequently asked questions

Two new DB2 Web Query options expand Microsoft integration As printed in the September 2009 edition of the IBM Systems Magazine

I/A Series Information Suite AIM*DataLink

Technical Paper. Migrating a SAS Deployment to Microsoft Windows x64

MS SQL Express installation and usage with PHMI projects

SharePoint List Synchronizer for Excel. Documentation

Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute

Connecting to SQL server

Three Ways to Import from Excel to SQL Server

Access to Relational Databases Using SAS. Frederick Pratter, Destiny Corp.

Course: SAS BI(business intelligence) and DI(Data integration)training - Training Duration: 30 + Days. Take Away:

Guide to the MySQL Workbench Migration Wizard: From Microsoft SQL Server to MySQL

MICROSOFT EXCEL 2011 MANAGE WORKBOOKS

P6 Professional Report Writer

User Guide. Analytics Desktop Document Number:

Accessing a Microsoft SQL Server Database from SAS on Microsoft Windows

Import Data to Excel Start Excel.

William E Benjamin Jr, Owl Computer Consultancy, LLC

How To Create A Report In Excel

Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC

STEP 2: UNIX FILESYSTEMS AND SECURITY

Big Data Analytics with PowerPivot and Power View

Introduction. Why Use ODBC? Setting Up an ODBC Data Source. Stat/Math - Getting Started Using ODBC with SAS and SPSS

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

1 Introduction 2 Installation 3 Getting Started: Default Reports 4 Custom Reports 5 Scheduling Reports

SAS 9.3 Drivers for ODBC

Utilizing SAS for Complete Report Automation Brent D. Westra, Mayo Clinic, Rochester, MN

FileMaker Pro and Microsoft Office Integration

NAIP Consortium Strengthening Statistical Computing for NARS SAS Enterprise Business Intelligence

Getting Started Guide

Be a More Productive Cross-Platform SAS Programmer Using Enterprise Guide

WHAT S NEW IN SAS 9.4

Automated distribution of SAS results Jacques Pagé, Les Services Conseils HARDY, Quebec, Qc

Migrating from SAS 9.3 to SAS 9.4: SAS communicating with MS Office Products

Importing Data from Microsoft Access into LISTSERV Maestro

CDW DATA QUALITY INITIATIVE

CRGroup Whitepaper: Digging through the Data. Reporting Options in Microsoft Dynamics GP

Importing TSM Data into Microsoft Excel using Microsoft Query

X3 Intelligence Reporting

Step 3: Go to Column C. Use the function AVERAGE to calculate the mean values of n = 5. Column C is the column of the means.

Document Exporter for Outlook

Business Intelligence Getting Started Guide

Stellar Phoenix. SQL Database Repair 6.0. Installation Guide

SAS to Excel with ExcelXP Tagset Mahipal Vanam, Kiran Karidi and Sridhar Dodlapati

Using Delphi Data with Excel and Access

GFI LANguard 9.0 ReportPack. Manual. By GFI Software Ltd.

Feith Rules Engine Version 8.1 Install Guide

GFI LANguard 9.0 ReportPack. Manual. By GFI Software Ltd.

August 2014 San Antonio Texas The Power of Embedded Analytics with SAP BusinessObjects

2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.

FileMaker 12. ODBC and JDBC Guide

Technical White Paper. Automating the Generation and Secure Distribution of Excel Reports

Introduction to PASW Statistics

Ad Hoc Reporting: Data Export

self-service business intelligence synergies with microsoft powerpivot

Product Summary of XLReporter with OPC Servers

Pastel Evolution BIC. Getting Started Guide

More than Doubled: Implications of Moving from 32-bit to 64-bit SAS on Windows

Microsoft Office Project Standard 2007 Project Professional April February 2006

NZ BI User Group Auckland 18 September, Big Data Analytics with PowerPivot and Power View

Publish Acrolinx Terminology Changes via RSS

Transcription:

Excel with SAS and Microsoft Excel Andrew Howell Senior Consultant, ANJ Solutions SAS Global Forum Washington DC 23 26 March 2014

Introduction - SAS & Excel interaction Excel as a Data Source Excel as a Data Target Excel as a Report Target Data Source Data Target Report Target SAS/Access for PC Files Libname, SQL Connect Proc Import / Export Import / Export Wizards SAS Enterprise Guide SAS Visual Analytics ODS

SAS & Excel interaction (cont.) Client Server (SAS Client) Client Server (SAS Server) Client-Server (SAS client) DDE Client-Server (SAS Server) AMO

SAS & Excel Topics covered Sidebar: Worksheets & Named Ranges Sidebar: SAS PC File Server & 32/64-bit compatibility Excel as a Data Source Excel as a Data Target Excel as a Report Target Client Server (SAS Client) Client Server (SAS Server)

Excel Worksheets & Named Ranges SAS treats Excel Worksheets and Named Ranges as Tables. 5

SAS PC FILES Server the 32/64 bit barrier SAS SAS PC File Server SAS (64-bit) SAS PC File Server Data (32-bit) Data SAS PC Files Server is useful where SAS is on one server & data sources are another (non- SAS) server SAS PC Files Server serves as intermediary 64-bit SAS cannot directly read/write 32-bit data sources on the same server Solution: Use SAS PC Files Server on the same machine 6

Excel as a Data Source Proc Import Libname & SQL Connect Import Wizard (SAS Display Manager) Open / Import Task (SAS Enterprise Guide) SAS Visual Analytics 7

Requires SAS Access to PC Files DBMS=EXCEL imports all Excel types SAS v9.4 supports XLSX Proc Import DBMS CSV EXCEL EXCEL4 EXCEL5 EXCELCS XLS XLSX SAS v9.4 can read XLSX directly from Unix without SAS PC File Server 8

Libname & SQL Connect Requires SAS Access to PC Files Alternatively, SAS Access to ODBC / OLEDB Opens all Excel types Libname/Connect locks Excel file (until clear or end session) SAS v9.4 supports XLSX SAS v9.4 can read XLSX directly from Unix without SAS PC File Server 9

Import Wizard (SAS Display Manager) Requires SAS Access to PC Files SAS v9.4 supports XLSX SAS v9.4 XSLX can read directly from Unix without SAS PC File Server Import Wizard can generate SAS code for automation of future imports 10

Open/Import Tasks (SAS Enterprise Guide) Excel data can be Imported or Opened Importing data creates a SAS session and a SAS copy of the Excel data Data can be Opened by Enterprise Guide without the underlying SAS session using the supplied Microsoft drivers (check Tools-Options). (Does not require SAS/Access to PC Files.) 11

SAS Visual Analytics In general, importing data requires starting a SAS session on the SAS Application Server. Only XLSX & XLS can be imported. XLSM, XLST & other Excel types cannot. Multiple worksheets: By default, all worksheets are imported, one table per worksheet. Can select worksheets. Can select multiple worksheets into the one table. 12

Excel as a Data Target Proc Export Libname & SQL Connect Export Wizard (SAS Display Manager) Send To / Export Tasks (SAS Enterprise Guide) Visual Analytics Save data Save Report Object data 13

Proc Export Requires SAS Access to PC Files Supports all Excel versions from Excel97 onwards SAS v9.4 supports XLSX SAS v9.4 can add new XLSX worksheets or update existing XLSX worksheet SAS v9.4 can write XLSX directly to Unix without SAS PC File Server 14

Libname & SQL Connect Requires SAS Access to PC Files Alternatively, SAS Access to ODBC / OLEDB Supports all Excel versions from Excel97 onwards SAS v9.4 supports XLSX If no version supplied, default is Excel97 SAS v9.4 can add new XLSX worksheets or update existing XLSX worksheet SAS v9.4 can write XLSX directly to Unix without SAS PC File Server 15

Export Wizard (SAS Display Manager) Requires SAS Access to PC Files Supports all Excel versions from Excel97 onwards SAS v9.4 supports XLSX SAS v9.4 can add new XLSX worksheets or update existing XLSX worksheet SAS v9.4 can write XLSX directly to Unix without SAS PC File Server Export Wizard can generate SAS code for automation of future exports 16

Send To (SAS Enterprise Guide) Launches interactive Excel session Sends SAS data to Excel worksheet. Does not require SAS/Access to PC Files 17

Export (SAS Enterprise Guide) Saves data as an Excel file Overwrites existing Excel file Does not require SAS/Access to PC Files 18

Export As a Step (SAS Enterprise Guide) (As per Export) Repeatable process 19

SAS Visual Analytics VA data can be exported to SAS data via the SASIOLA engine. Data from List, Crosstab & Graph report objects can be exported: CSV, etc.. If Excel, then XLSX only 20

Excel as a Report Target Output Delivery System ODS CSVALL (*.csv) ODS MsOffice2k (*.html) ODS ExcelXP (*.xml) Most feature rich Download the ExcelXP tagset (Proc Template) code from SAS All available in Base/SAS 21

Excel as a Report Target In this example: Frozen headers Column widths Subtotals Autofilters Sheet naming Sample code from the SAS ODS web site. 22

Client Server (SAS client) Sample code from the SAS Companion for Windows Dynamic Data Exchange (DDE) Effectively, SAS does the Excel point & click on your behalf. Requires SAS & Excel on the same machine. Requires X capability (not always available) Outdated technology; better methods available (for example, AMO or Enterprise Guide plug-ins) 23

Client Server (SAS server) SAS Add-In for Microsoft Office Excel acts as the client Displaying subsets of data Displaying results User familiarity with Excel No new toolset to learn. Requires SAS BI Screenshots from the SAS Add-In for Microsoft Office Getting Started guide 24

Summary SAS Access for PC Files v9.4 Supports XLSX file formats SAS v9.4 can read XLSX directly from Unix without SAS PC File Server SAS Visual Analytics supports XLSX file formats SAS provides many options to support a wide range of users Programming Interactive» SAS clients» Excel client 25

The SASDummy blog (Chris Hemedinger) http://blogs.sas.com/sasdummy Knoware YouTube channel (SAS Partner) ODS and Microsoft Excel http://support.sas.com/rnd/base/ods/excel/ ExcelXP tagset Available at the SAS ODS MARKUP page http://support.sas.com/rnd/base/ods/odsmarkup RESOURCES 26

Archive of many forum whitepapers RESOURCES LexJansen.com 27

Discussion Boards RESOURCES Communities.sas.com 28

Thank You & Questions Andrew Howell Senior Consultant ANJ Solutions Melbourne, Australia Email: ahowell@anjsolutions.com.au LinkedIn: au.linkedin.com/in/howellandrew/ SASCommunity: AndrewHowell Twitter: @AndrewAtANJ