Next Presentation: Presenter: Arthur Tabachneck
|
|
- Brook Bruce
- 6 years ago
- Views:
Transcription
1 Next Presentation: Presenter: Arthur Tabachneck Art holds a PhD from Michigan State University, has been a SAS user since 1974, is president of the Toronto Area SAS Society and has received such recognitions as the SAS Customer Value Award (2009), SAS-L Hall of Fame (2011), SAS Circle of Excellence (2012) and, in 2013, was recognized as being the first SAS user to have been awarded more than 10,000 points on the SAS Discussion Forums
2 2
3 SAS Global Forum 2014 March Washington, DC Arthur Tabachneck Thornhill, ON Canada Tom Abernathy New York, NY Matt Kastin Penn Valley, PA
4 Question How many of you are able to export SAS datasets to Excel using PROC EXPORT? 4
5 If your answer was "YES" Would you like to automate the process to be a point-and-click menu option? and Would you like to be able to: include or exclude the variable name row export a table starting at a specific cell add a table to an existing worksheet copy a file to your system's clipboard 5
6 Regardless of whether you answered YES or NO Would you like to be able to export SAS datasets to Excel, without needing SAS/Access for PC File Formats, have the same options as mentioned on the previous slide, AND be able to automate the process to be a point-and-click menu option? 6
7 and, of course, in ways that appear to accomplish the tasks almost automagically 7
8 what the solution looks like Right click on a dataset name in the SAS Explorer window 8
9 Then select the desired Action (i.e., press hot key (E) or point and left-click) 9
10 The Workbook will automagically be created 10
11 how to get those capabilities Left-click anywhere in the SAS Explorer Window 11
12 how to get those capabilities Left-click on Tools, move your mouse to Options Explorer 12
13 how to get those capabilities Left-click on Members 13
14 how to get those capabilities Then double left-click on Table 14
15 how to get those capabilities left-click on Add and an Add Action screen will appear 15
16 how to get those capabilities Type the text you want to add to the menu &Export to Excel Action: &Export to Excel It will appear on the menu as: Export to Excel Note: You can make one character a hotkey by preceding it with an ampersand 16
17 how to get those capabilities Left click in the Action Command box &Export to Excel 17
18 some key points about the Action Command Action Commands only accept up to 255 characters The 255 character limitation can be circumvented by submitting a macro % has a special meaning in Action Commands thus, if you need to use a % (e.g., to call a macro), use two %s When using gsubmit in an Action Command, everything between the two single quotes will be submitted When a SAS dataset is selected %8b and %32b can be used to refer to the libname and filename, respectively SAS Explorer comes with a built-in action called Copy Contents to Clipboard, but it creates an HTML file, contains some possibly undesired headers, shading and borders and runs times slower than the methods we've proposed 18
19 our paper presents a SAS macro: %exportxl the macro can produce 7 different actions, dependent upon how it is called. Action #1: &Export to Excel gsubmit '%%exportxl(%8b,%32b,p,yes,no)'; libnm filenm type usenames range Action Command gsubmit '%%exportxl(%8b,%32b,p,yes,no)'; runs proc export* on the dataset, creating an Excel workbook in the directory * requires SAS/Access for PC File Formats 19
20 after you have entered the action command click on OK to exit the Add Action screen &Export to Excel gsubmit '%%exportxl(%8b,%32b,p,yes)'; 20
21 then, click on OK to exit the Table Options screen 21
22 Once you have completed those steps whenever you right click on a file in the SAS Explorer window, and select the action: 22
23 The Workbook will automagically be created 23
24 the other six action commands: Action #2 Export to Excel with Variable &Names gsubmit '%%exportxl(%8b,%32b,s,yes,no)'; libnm filenm type usenames range Action Command gsubmit '%%exportxl(%8b,%32b,s,yes,no)'; produces an Excel workbook that will include variable names in the first row Note: Outcomes 2-7 only require base SAS 24
25 the other six action commands: Action #3 Export to Excel &Range with Variable Names gsubmit '%%exportxl(%8b,%32b,s,yes,yes)'; libnm filenm type usenames range Action Command gsubmit '%%exportxl(%8b,%32b,s,yes,yes)'; produces an Excel workbook that will include variable names and let you indicate the upper left cell where the table should begin 25
26 the other six action commands: Action #4 Export to Excel w/&o Variable Names gsubmit '%%exportxl(%8b,%32b,s,no.no)'; libnm filenm type usenames range Action Command gsubmit '%%exportxl(%8b,%32b,s,no,no)'; produces an Excel workbook that will not include variable names in the first row 26
27 the other six action commands: Action #5 Export to Excel Range w/o Variable Names gsubmit '%%exportxl(%8b,%32b,s,no.yes)'; libnm filenm type usenames range Action Command gsubmit '%%exportxl(%8b,%32b,s,no,yes)'; produces an Excel workbook (excluding variable names) and will let you indicate the upper left cell where the table should begin 27
28 the other six action commands: Action #6 E &xport to Clipboard with variable names gsubmit '%%exportxl(%8b,%32b,c,yes,no)'; libnm filenm type usenames range Action Command gsubmit '%%exportxl(%8b,%32b,c,yes,no)'; copies the dataset (with variable names) to your clipboard so that you can paste it into another program 28
29 the other six action commands: Action #7 &Export to Clipboard w/o Variable Names gsubmit '%%exportxl(%8b,%32b,c,no,no)'; libnm filenm type usenames range Action Command gsubmit '%%exportxl(%8b,%32b,c,no,no)'; copies the dataset (without variable names) to your clipboard so that you can paste it into another program 29
30 if you use one of the Actions with range=yes* the following screen will appear when you select the action enter the upper left cell where the range should begin and then press your <enter> key *Note: not applicable to Action #1 as proc export doesn't support outputting to a range 30
31 and, if you use Actions 2-5 if the workbook already exists, a screen like the following will appear i.e., the program will ask you whether it should, or shouldn't, replace the existing file 31
32 where to get the macro Copy the SAS program from: Save the file as exportxl.sas in a directory that exists in your SASAUTOS* path * see: 32
33 how the macro works %8b %32b C for Clipboard %macro exportxl(libnm,filenm,type,usenames,range); libnm type range %let filepath=%sysfunc(pathname(&libnm.)); %if &type. eq P %then %do; include row with proc export variable names data=&libnm..&filenm. YES NO outfile= "&filepath.\&filenm..xlsx" dbms=xlsx replace; run; %end; P for Proc Export S for vbs script whether table should be written to a range YES NO 33
34 how the macro works %macro exportxl(libnm,filenm,type,usenames); %let filepath=%sysfunc(pathname(&libnm.)); %if &type. eq P %then %do; proc export data=&libnm..&filenm. outfile= "&filepath.\&filenm..xlsx" dbms=xlsx replace; run; %end; 34
35 how the macro works %else %do; proc fcmp outlib=work.func.util; function c2cb(lib $,mem $, usenm $); rc=filename('clippy',' ','clipbrd'); if rc ne 0 then return(1); fid=fopen('clippy','o',0,'v'); if fid eq 0 then do; rc = filename( 'clippy' ); return(2); end; dsid=open(catx('.',lib,mem)); if dsid eq 0 then do; rc=fclose(fid); rc=filename('clippy'); return(3); end; 35
36 how the macro works %else %do; proc fcmp outlib=work.func.util; function c2cb(lib $,mem $, usenm $); rc=filename('clippy',' ','clipbrd'); if rc ne 0 then return(1); fid=fopen('clippy','o',0,'v'); if fid eq 0 then do; rc = filename( 'clippy' ); return(2); end; dsid=open(catx('.',lib,mem)); if dsid eq 0 then do; rc=fclose(fid); rc=filename('clippy'); return(3); end; Open the clipbrd so that we can write to it 36
37 how the macro works %else %do; proc fcmp outlib=work.func.util; function c2cb(lib $,mem $, usenm $); rc=filename('clippy',' ','clipbrd'); if rc ne 0 then return(1); fid=fopen('clippy','o',0,'v'); if fid eq 0 then do; rc = filename( 'clippy' ); return(2); end; dsid=open(catx('.',lib,mem)); if dsid eq 0 then do; rc=fclose(fid); rc=filename('clippy'); return(3); end; Open the SAS dataset so that we can read it 37
38 how the macro works nvar=attrn(dsid,'nvar'); array v[1] /nosymbols; call dynamic_array(v,nvar); do i = 1 to nvar; v[i]=ifn( vartype(dsid,i)='c',1,2); if usenm eq 'YES' then do; if i gt 1 then rc=fput(fid,'09'x); rc=fput(fid,varname(dsid,i)); end; end; if usenm eq 'YES' then rc=fwrite(fid); do i=1 to attrn(dsid,'nlobs'); rc=fetchobs(dsid,i); do j=1 to nvar; if j gt 1 then rc=fput(fid,'09'x); if (v[j] eq 1) then rc=fput(fid, getvarc(dsid,j)); else do; fmt=varfmt(dsid,j) ; if missing(fmt) then fmt='best12.'; Get number of variables and declare array rc=fput(fid,putc(putn(getvarn(dsid,j),fmt),'$char12.')); end; end; rc=fwrite(fid); end; 38
39 how the macro works nvar=attrn(dsid,'nvar'); array v[1] /nosymbols; call dynamic_array(v,nvar); do i = 1 to nvar; v[i]=ifn( vartype(dsid,i)='c',1,2); if usenm eq 'YES' then do; if i gt 1 then rc=fput(fid,'09'x); rc=fput(fid,varname(dsid,i)); end; end; if usenm eq 'YES' then rc=fwrite(fid); do i=1 to attrn(dsid,'nlobs'); rc=fetchobs(dsid,i); do j=1 to nvar; if j gt 1 then rc=fput(fid,'09'x); if (v[j] eq 1) then rc=fput(fid, getvarc(dsid,j)); else do; fmt=varfmt(dsid,j) ; if missing(fmt) then fmt='best12.'; Assign values to array based on variable type Assign variable names rc=fput(fid,putc(putn(getvarn(dsid,j),fmt),'$char12.')); end; end; rc=fwrite(fid); end; 39
40 how the macro works nvar=attrn(dsid,'nvar'); array v[1] /nosymbols; call dynamic_array(v,nvar); do i = 1 to nvar; v[i]=ifn( vartype(dsid,i)='c',1,2); if usenm eq 'YES' then do; if i gt 1 then rc=fput(fid,'09'x); rc=fput(fid,varname(dsid,i)); end; end; if usenm eq 'YES' then rc=fwrite(fid); do i=1 to attrn(dsid,'nlobs'); rc=fetchobs(dsid,i); do j=1 to nvar; if j gt 1 then rc=fput(fid,'09'x); if (v[j] eq 1) then rc=fput(fid, getvarc(dsid,j)); else do; fmt=varfmt(dsid,j) ; if missing(fmt) then fmt='best12.'; Write variable names rc=fput(fid,putc(putn(getvarn(dsid,j),fmt),'$char12.')); end; end; rc=fwrite(fid); end; 40
41 how the macro works nvar=attrn(dsid,'nvar'); array v[1] /nosymbols; call dynamic_array(v,nvar); do i = 1 to nvar; v[i]=ifn( vartype(dsid,i)='c',1,2); if usenm eq 'YES' then do; if i gt 1 then rc=fput(fid,'09'x); rc=fput(fid,varname(dsid,i)); end; end; if usenm eq 'YES' then rc=fwrite(fid); do i=1 to attrn(dsid,'nlobs'); rc=fetchobs(dsid,i); do j=1 to nvar; if j gt 1 then rc=fput(fid,'09'x); if (v[j] eq 1) then rc=fput(fid, getvarc(dsid,j)); else do; fmt=varfmt(dsid,j) ; if missing(fmt) then fmt='best12.'; rc=fput(fid,putc(putn(getvarn(dsid,j),fmt),'$char12.')); end; end; rc=fwrite(fid); end; Get data and formats and write tab-delimited records 41
42 how the macro works rc=fclose(fid); rc=close(dsid); rc=filename('clippy'); return(0); endsub; quit; Cleanup %local cmplib; %let cmplib=%sysfunc(getoption(cmplib)); options cmplib=(work.func); %put %sysfunc(c2cb(&libnm,&filenm,&usenames)) ; options cmplib=(&cmplib); 42
43 how the macro works rc=fclose(fid); rc=close(dsid); rc=filename('clippy'); return(0); endsub; quit; Get options Run Function Reset Options %local cmplib; %let cmplib=%sysfunc(getoption(cmplib)); options cmplib=(work.func); %put %sysfunc(c2cb(&libnm,&filenm,&usenames)) ; options cmplib=(&cmplib); 43
44 how the macro works %if &range. eq YES %then %do; data _null_; window range rows=8 columns=80 irow=1 icolumn=2 color=black Display window to let users identify range 'Enter the upper left cell where range should begin (e.g. D5): ' color=gray range $8. required=yes attr=underline color=yellow; DISPLAY range blank; call symput('range',range); stop; run; %end; %else %do; %let range=a1; %end; 44
45 how the macro works %if &range. eq YES %then %do; data _null_; window range rows=8 columns=80 irow=1 icolumn=2 color=black 'Enter the upper left cell where range should begin (e.g. D5): ' color=gray range $8. required=yes attr=underline color=yellow; DISPLAY range blank; call symput('range',range); stop; run; %end; %else %do; %let range=a1; %end; Otherwise, set default range 45
46 how the macro works %if &type. eq S %then %do; data _null_; length script filevar $256; If type eq S then create a VBS script called PasteIt.vbs script = catx('\',pathname('work'),'pasteit.vbs'); filevar = script; script="'" 'cscript "' trim(script) '"' "'"; call symput('script',script); file dummy1 filevar=filevar recfm=v lrecl=512; put 'Dim objexcel'; put 'Dim Newbook'; put 'Set objexcel = CreateObject("Excel.Application")'; put 'Set Newbook = objexcel.workbooks.add()'; put 'objexcel.visible = True'; Script='Newbook.Sheets("Sheet1").Range("' "&Range." '").Activate'; put script; put 'Newbook.Sheets("Sheet1").Paste'; put 'Newbook.Sheets("Sheet1").Select'; put 'Newbook.Sheets("Sheet1").Name = "'@; put "&filenm."@; put '"'; 46
47 how the macro works %if &type. eq S %then %do; data _null_; length script filevar $256; script = catx('\',pathname('work'),'pasteit.vbs'); filevar = script; script="'" 'cscript "' trim(script) '"' "'"; Add a worksheet, call symput('script',script); make it the active sheet file dummy1 filevar=filevar recfm=v paste lrecl=512; the clipboard, put 'Dim objexcel'; put 'Dim Newbook'; and assign sheet name put 'Set objexcel = CreateObject("Excel.Application")'; put 'Set Newbook = objexcel.workbooks.add()'; put 'objexcel.visible = True'; Script='Newbook.Sheets("Sheet1").Range("' "&Range." '").Activate'; put script; put 'Newbook.Sheets("Sheet1").Paste'; put 'Newbook.Sheets("Sheet1").Select'; put 'Newbook.Sheets("Sheet1").Name = "'@; put "&filenm."@; put '"'; 47
48 how the macro works put put put '")'; put "Newbook.Close"; put 'objexcel = Nothing'; put 'Newbook = Nothing'; script="'" 'cscript "' trim(script) '"' "'"; call symput('script',script); run; data _null_; call system(&script.); run; %end; %end; %mend exportxl; Save and close the workbook 48
49 how the macro works put put put '")'; put "Newbook.Close"; put 'objexcel = Nothing'; put 'Newbook = Nothing'; script="'" 'cscript "' trim(script) '"' "'"; call symput('script',script); run; data _null_; call system(&script.); run; %end; %end; %mend exportxl; Cleanup and write command line to macro variable &script 49
50 how the macro works put put put '")'; put "Newbook.Close"; put 'objexcel = Nothing'; put 'Newbook = Nothing'; script="'" 'cscript "' trim(script) '"' "'"; call symput('script',script); run; data _null_; call system(&script.); run; %end; %end; %mend exportxl; Run the VBS script 50
51 summary of what I just presented: What the ExportXL macro is and where you can download it How the macro works How you can create Action Commands in the SAS Explorer window How you can set up Action Commands to call the macro to accomplish things that you can't do with proc export 51
52 and, if you want, you can use the same method to add all of your repeated tasks to the SAS Explorer menu Export to Excel Copy Variable Names to Clipboard Run Proc Contents Get descriptive statistics Show all correlations Run Proc Means Print bar charts Run Proc Freq 52
53
54 Your comments and questions are valued and encouraged Contact the Authors Arthur Tabachneck, Ph.D. myqna, Inc. Thornhill, ON Tom Abernathy Pfizer, Inc. New York, NY Matt Kastin I-Behavior, Inc. Penn Valley, PA
A Poor/Rich SAS User s Proc Export
Paper 1793-2014 A Poor/Rich SAS User s Proc Export Arthur S. Tabachneck, Ph.D., myqna, Inc., Thornhill, Ontario Canada Tom Abernathy, Pfizer, Inc., New York, NY Matthew Kastin, I-Behavior, Inc., Penn Valley,
More informationExcelling to Another Level with SAS
Paper 2444-2018 Excelling to Another Level with SAS Arthur S. Tabachneck, Ph.D., AnalystFinder, Inc.; Tom Abernathy, Pfizer, Inc.; Matthew Kastin, NORC at the University of Chicago ABSTRACT Have you ever
More informationUsing GSUBMIT command to customize the interface in SAS Xin Wang, Fountain Medical Technology Co., ltd, Nanjing, China
PharmaSUG China 2015 - Paper PO71 Using GSUBMIT command to customize the interface in SAS Xin Wang, Fountain Medical Technology Co., ltd, Nanjing, China One of the reasons that SAS is widely used as the
More informationAccessing Password Protected Microsoft Excel Files in A SAS Grid Environment
SESUG Paper 213-2018 Accessing Password Protected Microsoft Excel Files in A SAS Grid Environment Brandon Welch, Rho Inc.; Travis Mason, Rho Inc. ABSTRACT Microsoft Excel continues as a popular choice
More informationSAS Windowing environment Tips and Tricks
Paper 2564-2018 SAS Windowing environment Tips and Tricks Ravi Venkata and Mahesh Minnakanti, The EMMES Corporation; ABSTRACT If you work with SAS, then you probably find yourself repeating steps and tasks
More informationMs Excel Vba Continue Loop Through Range Of
Ms Excel Vba Continue Loop Through Range Of Rows Learn how to make your VBA code dynamic by coding in a way that allows your 5 Different Ways to Find The Last Row or Last Column Using VBA In Microsoft
More informationAn Automation Procedure for Oracle Data Extraction and Insertion
An Automation Procedure for Oracle Data Extraction and Insertion Shiqun S. Li, Smith Hanley, East Hanover, NJ David H. Wilcox, NYS Department of Health, Albany, NY ABSTRACT SAS software provides strong
More informationET01. LIBNAME libref <engine-name> <physical-file-name> <libname-options>; <SAS Code> LIBNAME libref CLEAR;
ET01 Demystifying the SAS Excel LIBNAME Engine - A Practical Guide Paul A. Choate, California State Developmental Services Carol A. Martell, UNC Highway Safety Research Center ABSTRACT This paper is a
More informationTIPS AND TRICKS: IMPROVE EFFICIENCY TO YOUR SAS PROGRAMMING
TIPS AND TRICKS: IMPROVE EFFICIENCY TO YOUR SAS PROGRAMMING Guillaume Colley, Lead Data Analyst, BCCFE Page 1 Contents Customized SAS Session Run system options as SAS starts Labels management Shortcut
More informationUse That SAP to Write Your Code Sandra Minjoe, Genentech, Inc., South San Francisco, CA
Paper DM09 Use That SAP to Write Your Code Sandra Minjoe, Genentech, Inc., South San Francisco, CA ABSTRACT In this electronic age we live in, we usually receive the detailed specifications from our biostatistician
More informationExport Desktop Motion Analyzer profiles to Motion Analyzer Online: SolidWorks Motion Study Move Profile
Export Desktop Motion Analyzer profiles to Motion Analyzer Online: SolidWorks Motion Study Move Profile For: Motion profiles with simple or static loads Splits motion profile into user defined number of
More informationImporting Excel into SAS: A Robust Approach for Difficult-To-Read Worksheets
Importing Excel into SAS: A Robust Approach for Difficult-To-Read Worksheets Name of event: TASS Location of event: Toronto Presenter s name: Bill Sukloff Branch name: Science &Technology Date of event:
More informationImplementing external file processing with no record delimiter via a metadata-driven approach
Paper 2643-2018 Implementing external file processing with no record delimiter via a metadata-driven approach Princewill Benga, F&P Consulting, Saint-Maur, France ABSTRACT Most of the time, we process
More informationSo, Your Data are in Excel! Ed Heaton, Westat
Paper AD02_05 So, Your Data are in Excel! Ed Heaton, Westat Abstract You say your customer sent you the data in an Excel workbook. Well then, I guess you'll have to work with it. This paper will discuss
More informationNext Presentation: Using SAS to Build Web Pages Linking Photographs with Google Maps. Presenters: Art Tabachneck and Bill Klein
Next Presentation: Using SAS to Build Web Pages Linking Photographs with Google Maps Presenters: Art Tabachneck and Bill Klein Art holds a PhD from Michigan State University, has been a SAS user for more
More informationA SAS Macro Utility to Modify and Validate RTF Outputs for Regional Analyses Jagan Mohan Achi, PPD, Austin, TX Joshua N. Winters, PPD, Rochester, NY
PharmaSUG 2014 - Paper BB14 A SAS Macro Utility to Modify and Validate RTF Outputs for Regional Analyses Jagan Mohan Achi, PPD, Austin, TX Joshua N. Winters, PPD, Rochester, NY ABSTRACT Clinical Study
More informationStarting Excel application
MICROSOFT EXCEL 1 2 Microsoft Excel: is a special office program used to apply mathematical operations according to reading a cell automatically, just click on it. It is called electronic tables Starting
More information2. create the workbook file
2. create the workbook file Excel documents are called workbook files. A workbook can include multiple sheets of information. Excel supports two kinds of sheets for working with data: Worksheets, which
More informationSending SAS Data Sets and Output to Microsoft Excel
SESUG Paper CC-60-2017 Sending SAS Data Sets and Output to Microsoft Excel Imelda C. Go, South Carolina Department of Education, Columbia, SC ABSTRACT For many of us, using SAS and Microsoft Excel together
More informationMore Skills 12 Create Web Queries and Clear Hyperlinks
CHAPTER 9 Excel More Skills 12 Create Web Queries and Clear Hyperlinks Web queries are requests that are sent to web pages to retrieve and display data in Excel workbooks. Web queries work best when retrieving
More informationStructured Solutions Inc. Tools MS Project to Excel Export/Import Tools
Structured Solutions Inc. Tools MS Project to Excel Export/Import Tools This Macro Enabled Excel workbook contains a collection of useful tools that enables the user to Get, Post or Lookup data from MS
More informationSurvey Design, Distribution & Analysis Software. professional quest. Whitepaper Extracting Data into Microsoft Excel
Survey Design, Distribution & Analysis Software professional quest Whitepaper Extracting Data into Microsoft Excel WHITEPAPER Extracting Scoring Data into Microsoft Excel INTRODUCTION... 1 KEY FEATURES
More informationTab-Delimited File and Compound Objects - Documents, Postcards, and Cubes. (Not Monographs)
1" Tab-Delimited File and Compound Objects - Documents, Postcards, and Cubes (Not Monographs) See Help Sheet: Tab-Delimited File and Compound Object - Monograph Content "2" Page 4: Why use Tab-delimited
More informationFrequency tables Create a new Frequency Table
Frequency tables Create a new Frequency Table Contents FREQUENCY TABLES CREATE A NEW FREQUENCY TABLE... 1 Results Table... 2 Calculate Descriptive Statistics for Frequency Tables... 6 Transfer Results
More informationThe American University in Cairo. Academic Computing Services. Excel prepared by. Maha Amer
The American University in Cairo Excel 2000 prepared by Maha Amer Spring 2001 Table of Contents: Opening the Excel Program Creating, Opening and Saving Excel Worksheets Sheet Structure Formatting Text
More informationExcel 2007 New Features Table of Contents
Table of Contents Excel 2007 New Interface... 1 Quick Access Toolbar... 1 Minimizing the Ribbon... 1 The Office Button... 2 Format as Table Filters and Sorting... 2 Table Tools... 4 Filtering Data... 4
More informationHAVE YOU EVER WISHED THAT YOU DO NOT NEED TO TYPE OR CHANGE REPORT NUMBERS AND TITLES IN YOUR SAS PROGRAMS?
HAVE YOU EVER WISHED THAT YOU DO NOT NEED TO TYPE OR CHANGE REPORT NUMBERS AND TITLES IN YOUR SAS PROGRAMS? Aileen L. Yam, PharmaNet, Inc., Princeton, NJ ABSTRACT In clinical research, the table of contents
More informationExcel Tip: How to create a pivot table that updates automatically
Submitted by Jess on Thu, 01/23/2014-21:38 Microsoft Excel has a powerful reporting tool called the Pivot Table. In a few minutes and in a few mouse clicks, you can build a report of your data. This is
More informationElectricity Forecasting Full Circle
Electricity Forecasting Full Circle o Database Creation o Libname Functionality with Excel o VBA Interfacing Allows analysts to develop procedural prototypes By: Kyle Carmichael Disclaimer The entire presentation
More informationExcel 2013 Intermediate
Excel 2013 Intermediate Quick Access Toolbar... 1 Customizing Excel... 2 Keyboard Shortcuts... 2 Navigating the Spreadsheet... 2 Status Bar... 3 Worksheets... 3 Group Column/Row Adjusments... 4 Hiding
More informationAn Easier and Faster Way to Untranspose a Wide File
Paper 2419-2018 An Easier and Faster Way to Untranspose a Wide File Arthur S. Tabachneck, Ph.D., AnalystFinder, Inc. Matthew Kastin, NORC at the University of Chicago Joe Matise, NORC at the University
More informationCSV Roll Documentation
CSV Roll Documentation Version 1.1 March 2015 INTRODUCTION The CSV Roll is designed to display the contents of a Microsoft Excel worksheet in a Breeze playlist. The Excel worksheet must be exported as
More informationA new workbook contains 256 worksheets. The worksheet is a grid of COLUMNS and ROWS. The intersection of a column and a row is called a CELL.
MICROSOFT EXCEL INTRODUCTION Microsoft Excel is allow you to create professional spreadsheets and charts. It is quite useful in entering, editing, analysis and storing of data. It performs numerous functions
More informationCivil Engineering Computation
Civil Engineering Computation First Steps in VBA Homework Evaluation 2 1 Homework Evaluation 3 Based on this rubric, you may resubmit Homework 1 and Homework 2 (along with today s homework) by next Monday
More informationBenchmark Macro %COMPARE Sreekanth Reddy Middela, MaxisIT Inc., Edison, NJ Venkata Sekhar Bhamidipati, Merck & Co., Inc.
Benchmark Macro %COMPARE Sreekanth Reddy Middela, MaxisIT Inc., Edison, NJ Venkata Sekhar Bhamidipati, Merck & Co., Inc., North Wales, PA ABSTRACT The main functionality of benchmark macro %Compare is
More informationFormatting Spreadsheets in Microsoft Excel
Formatting Spreadsheets in Microsoft Excel This document provides information regarding the formatting options available in Microsoft Excel 2010. Overview of Excel Microsoft Excel 2010 is a powerful tool
More informationHow to use UNIX commands in SAS code to read SAS logs
SESUG Paper 030-2017 How to use UNIX commands in SAS code to read SAS logs James Willis, OptumInsight ABSTRACT Reading multiple logs at the end of a processing stream is tedious when the process runs on
More informationGetting Started with. Office 2008
Getting Started with Office 2008 Copyright 2010 - Information Technology Services Kennesaw State University This document may be downloaded, printed, or copied, for educational use, without further permission
More information2013 ADVANCED MANUAL
2013 ADVANCED MANUAL C B C H O U S E 2 4 C A N N I N G S T R E E T E D I N B U R G H E H 3 8 E G 0 1 3 1 2 7 2 2 7 9 0 W W W. I T R A I N S C O T L A N D. C O. U K I N F O @ I T R A I N S C O T L A N D.
More informationExcel Tools Features... 1 Comments... 2 List Comments Formatting... 3 Center Across... 3 Hide Blank Rows... 3 Lists... 3 Sheet Links...
CONTEXTURES EXCEL TOOLS FEATURES LIST PAGE 1 Excel Tools Features The following features are contained in the Excel Tools Add-in. Excel Tools Features... 1 Comments... 2 List Comments... 2 Comments...
More informationUniversity of North Dakota PeopleSoft Finance Tip Sheets. Utilizing the Query Download Feature
There is a custom feature available in Query Viewer that allows files to be created from queries and copied to a user s PC. This feature doesn t have the same size limitations as running a query to HTML
More informationQuick Guide for Excel 2015 Data Management November 2015 Training:
http://pfw.edu Quick Guide for Excel 2015 Data Management November 2015 Training: http://pfw.edu/training Excel 2016 Data Management AutoFill and Custom Lists AutoFill 1. Select the range that contains
More informationCreate Manual Page Breaks In Excel Vba Remove Vertical
Create Manual Page Breaks In Excel Vba Remove Vertical The dotted line refers to automatic page break. To remove all the manual page breaks from a sheet (when the number of printing pages exceeds 1), follow.
More informationChapter 10 Linking Calc Data
Calc Guide Chapter 10 Linking Calc Data Sharing data in and out of Calc This PDF is designed to be read onscreen, two pages at a time. If you want to print a copy, your PDF viewer should have an option
More informationTaming a Spreadsheet Importation Monster
SESUG 2013 Paper BtB-10 Taming a Spreadsheet Importation Monster Nat Wooding, J. Sargeant Reynolds Community College ABSTRACT As many programmers have learned to their chagrin, it can be easy to read Excel
More informationMicrosoft Excel 2013 Table of content
Microsoft Excel 2013 Table of content Chapter 1. New features in Excel 2013 New Excel Templates New Flash Fill New Pivot Table, Timeline, Slicer and etc New Quick Analysis Chapter 2. Start Working with
More informationCreating Automated Dashboard Excel 2013 Contents
Creating Automated Dashboard Excel 2013 Contents Summarize Data Using Pivot Table... 2 Constructing Report Summary... 2 Create a PivotTable from worksheet data... 2 Add fields to a PivotTable... 2 Grouping
More informationIntroduction. Inserting and Modifying Tables. Word 2010 Working with Tables. To Insert a Blank Table: Page 1
Word 2010 Working with Tables Introduction Page 1 A table is a grid of cells arranged in rows and columns. Tables can be customized and are useful for various tasks such as presenting text information
More informationIntroduction to Excel 2013
Introduction to Excel 2013 Copyright 2014, Software Application Training, West Chester University. A member of the Pennsylvania State Systems of Higher Education. No portion of this document may be reproduced
More informationDETAILED SYLLABUS 1. INTRODUCTION TO COMPUTER
DETAILED SYLLABUS 1. INTRODUCTION TO COMPUTER 1.0 Introduction 1.1 Objectives 1.2 What is Computer? 1.2.1 History of Computers 1.2.2 Characteristics Of Computer System 1.2.3 Basic Applications of Computer
More informationLab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet
Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet 1. Macros 1.1 What is a macro? A macro is a set of one or more actions
More informationPART 7. Getting Started with Excel
PART 7 Getting ed with Excel When you start the application, Excel displays a blank workbook. A workbook is a file in which you store your data, similar to a three-ring binder. Within a workbook are worksheets,
More informationLastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.
Welcome to Basic Excel, presented by STEM Gateway as part of the Essential Academic Skills Enhancement, or EASE, workshop series. Before we begin, I want to make sure we are clear that this is by no means
More informationFall 2012 OASUS Questions and Answers
Fall 2012 OASUS Questions and Answers The following answers are provided to the benefit of the OASUS Users Group and are not meant to replace SAS Technical Support. Also, an Enterprise Guide project is
More informationUsing OLE in SAS/AF Software
187 CHAPTER 9 Using OLE in SAS/AF Software About OLE 188 SAS/AF Catalog Compatibility 188 Inserting an OLE Object in a FRAME Entry 188 Inserting an OLE Object 189 Pasting an OLE Object from the Clipboard
More informationMICROSOFT EXCEL BIS 202. Lesson 1. Prepared By: Amna Alshurooqi Hajar Alshurooqi
MICROSOFT EXCEL Prepared By: Amna Alshurooqi Hajar Alshurooqi Lesson 1 BIS 202 1. INTRODUCTION Microsoft Excel is a spreadsheet application used to perform financial calculations, statistical analysis,
More informationExcel. More Skills 11 Insert and Edit Comments. To complete this workbook, you will need the following file: You will save your workbook as: CHAPTER 2
CHAPTER 2 Excel More Skills 11 Insert and Edit Comments A comment is a note that is attached to a cell, separate from other cell content. Comments can describe how a complex formula works or provide feedback
More informationMicrosoft Excel 2013 Comments (Level 3)
IT Training Microsoft Excel 2013 Comments (Level 3) Contents Introduction...1 Adding a Comment to a Cell...1 Displaying Cell Comments...2 Editing a Cell Comment...3 Deleting a Cell Comment...3 Searching
More informationUsing Charts in a Presentation 6
Using Charts in a Presentation 6 LESSON SKILL MATRIX Skill Exam Objective Objective Number Building Charts Create a chart. Import a chart. Modifying the Chart Type and Data Change the Chart Type. 3.2.3
More informationImporting and Exporting Data
14 Importing and Exporting Data SKILL SUMMARY Skills Exam Objective Objective Number Importing Data Import data into tables. Append records from external data. Import tables from other databases. Create
More informationMicrosoft Excel Chapter 1. Creating a Worksheet and a Chart
Microsoft Excel 2013 Chapter 1 Creating a Worksheet and a Chart Objectives Describe the Excel worksheet Enter text and numbers Use the Sum button to sum a range of cells Enter a simple function Copy the
More informationDiskBoss DATA MANAGEMENT
DiskBoss DATA MANAGEMENT Disk Change Monitor Version 9.3 May 2018 www.diskboss.com info@flexense.com 1 1 Product Overview DiskBoss is an automated, policy-based data management solution allowing one to
More informationInsert Subtotals in Excel and Link Data to a Word Document
CHAPTER 1 Integrated Projects More Skills 11 Insert Subtotals in Excel and Link Data to a Word Document In Excel, summary statistics such as totals and averages can be calculated for groups of data by
More informationSpreadsheet File Transfer User Guide. FR 2835 Quarterly Report of Interest Rates on Selected Direct Consumer Installment Loans
Spreadsheet File Transfer User Guide FR 2835 Quarterly Report of Interest Rates on Selected Direct Consumer Installment Loans STATISTICS FUNCTION Effective August 8, 2015 Overview The Federal Reserve System
More informationACP reporting. This guide provides a general overview on how to run ACP reports. In this guide: Available reports Page 3
ACP reporting For ACP Supervisor ACP Reporting Administrator ACP reporting Last Updated March 2016 (Version 1.1) Menu My ACP run a report This guide provides a general overview on how to run ACP reports.
More informationMicrosoft Excel 2010 Training. Excel 2010 Basics
Microsoft Excel 2010 Training Excel 2010 Basics Overview Excel is a spreadsheet, a grid made from columns and rows. It is a software program that can make number manipulation easy and somewhat painless.
More informationHow to import text files to Microsoft Excel 2016:
How to import text files to Microsoft Excel 2016: You would use these directions if you get a delimited text file from a government agency (or some other source). This might be tab-delimited, comma-delimited
More informationMoving Data and Results Between SAS and Excel. Harry Droogendyk Stratia Consulting Inc.
Moving Data and Results Between SAS and Excel Harry Droogendyk Stratia Consulting Inc. Introduction SAS can read ( and write ) anything Introduction In the end users want EVERYTHING in. Introduction SAS
More informationNEW FEATURES IN FOUNDATION SAS 9.4 CYNTHIA JOHNSON CUSTOMER LOYALTY
NEW FEATURES IN FOUNDATION SAS 9.4 CYNTHIA JOHNSON CUSTOMER LOYALTY FOUNDATION SAS WHAT S NEW IN 9.4 Agenda Base SAS SAS/ACCESS Interface to PC Files SAS Support for Hadoop SAS/GRAPH SAS Studio BASE SAS
More informationThe Item_Master_addin.xlam is an Excel add-in file used to provide additional features to assist during plan development.
Name: Tested Excel Version: Compatible Excel Version: Item_Master_addin.xlam Microsoft Excel 2013, 32bit version Microsoft Excel 2007 and up (32bit and 64 bit versions) Description The Item_Master_addin.xlam
More informationThis book is about using Microsoft Excel to
Introducing Data Analysis with Excel This book is about using Microsoft Excel to analyze your data. Microsoft Excel is an electronic worksheet you can use to perform mathematical, financial, and statistical
More informationChapter 4. Microsoft Excel
Chapter 4 Microsoft Excel Topic Introduction Spreadsheet Basic Screen Layout Modifying a Worksheet Formatting Cells Formulas and Functions Sorting and Filling Borders and Shading Charts Introduction A
More informationText Conversion Process
Text Conversion Process TEXT to EXCEL Conversion Template EXCEL to TEXT Purpose F. S. 285.985 - Transparency in Government Spending Data Agencies Steps 1. Get your Agency Contract Data via CD 2. Convert
More informationExporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ
Paper 74924-2011 Exporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ ABSTRACT Excel output is the desired format for most of the ad-hoc reports
More informationUsing an ICPSR set-up file to create a SAS dataset
Using an ICPSR set-up file to create a SAS dataset Name library and raw data files. From the Start menu, launch SAS, and in the Editor program, write the codes to create and name a folder in the SAS permanent
More informationAdvanced Excel Charts : Tables : Pivots
Advanced Excel Charts : Tables : Pivots Protecting Your Tables/Cells Protecting your cells/tables is a good idea if multiple people have access to your computer or if you want others to be able to look
More informationExcel Macro Runtime Error Code 1004 Saveas Of Object _workbook Failed
Excel Macro Runtime Error Code 1004 Saveas Of Object _workbook Failed The code that follows has been courtesy of this forum and the extensive help i received from everyone. But after an Runtime Error '1004'
More informationMICROSOFT EXCEL KEYBOARD SHORCUTS
MICROSOFT EXCEL KEYBOARD SHORCUTS F1 Displays the Office Assistant or (Help > Microsoft Excel Help) F2 Edits the active cell, putting the cursor at the end F3 Displays the (Insert > Name > Paste) dialog
More informationBeginning PowerPoint XP for Windows
Beginning PowerPoint XP for Windows Tutorial Description This course introduces you to the PowerPoint program basics for creating a simple on-screen presentation. Intended Audience Individuals interested
More information3/31/2016. Spreadsheets. Spreadsheets. Spreadsheets and Data Management. Unit 3. Can be used to automatically
MICROSOFT EXCEL and Data Management Unit 3 Thursday March 31, 2016 Allow users to perform simple and complex sorting Allow users to perform calculations quickly Organizes and presents figures that can
More informationA Macro to Keep Titles and Footnotes in One Place
CC25 ABSTRACT A Macro to Keep Titles and Footnotes in One Place John Morrill, Quintiles, Inc., Kansas City, MO A large project with titles and footnotes in each separate program can be cumbersome to maintain.
More informationA Brief Word About Your Exam
Exam 1 Studyguide A Brief Word About Your Exam Your exam will be MONDAY, FEBRUARY 20 DURING CLASS TIME. You will have 50 minutes to complete Exam 1. If you arrive late or leave early, you forfeit any time
More informationSPREADSHEETS. (Data for this tutorial at
SPREADSHEETS (Data for this tutorial at www.peteraldhous.com/data) Spreadsheets are great tools for sorting, filtering and running calculations on tables of data. Journalists who know the basics can interview
More informationJennifer Clegg and Carol Rigsbee, SAS Institute Inc., Cary, NC
OLE and the SAS System for Windows Release 6.12 Jennifer Clegg and Carol Rigsbee, SAS Institute Inc., Cary, NC ABSTRACT This paper describes the OLE support within the SAS System for Windows Release 6.12.
More informationContents. Group 2 Excel Handouts 2010
Contents Styles... 2 Conditional Formatting... 2 Create a New Rule... 4 Format as Table... 5 Create your own New Table Style... 8 Cell Styles... 9 New Cell Style... 10 Merge Styles... 10 Sparklines...
More informationOne SAS To Rule Them All
SAS Global Forum 2017 ABSTRACT Paper 1042 One SAS To Rule Them All William Gui Zupko II, Federal Law Enforcement Training Centers In order to display data visually, our audience preferred Excel s compared
More informationMS Excel Advanced Level
MS Excel Advanced Level Trainer : Etech Global Solution Contents Conditional Formatting... 1 Remove Duplicates... 4 Sorting... 5 Filtering... 6 Charts Column... 7 Charts Line... 10 Charts Bar... 10 Charts
More informationDon't quote me. Almost having fun with quotes and macros. By Mathieu Gaouette
Don't quote me. Almost having fun with quotes and macros By Mathieu Gaouette Plan Introduction The problem Avoiding the problem Tackling the problem Acknowledgements Introduction The problem Lets look
More informationReview Ch. 15 Spreadsheet and Worksheet Basics. 2010, 2006 South-Western, Cengage Learning
Review Ch. 15 Spreadsheet and Worksheet Basics 2010, 2006 South-Western, Cengage Learning Excel Worksheet Slide 2 Move Around a Worksheet Use the mouse and scroll bars Use and (or TAB) Use PAGE UP and
More informationCC13 An Automatic Process to Compare Files. Simon Lin, Merck & Co., Inc., Rahway, NJ Huei-Ling Chen, Merck & Co., Inc., Rahway, NJ
CC13 An Automatic Process to Compare Files Simon Lin, Merck & Co., Inc., Rahway, NJ Huei-Ling Chen, Merck & Co., Inc., Rahway, NJ ABSTRACT Comparing different versions of output files is often performed
More informationVBA Excel 2013/2016. VBA Visual Basic for Applications. Learner Guide
VBA Visual Basic for Applications Learner Guide 1 Table of Contents SECTION 1 WORKING WITH MACROS...5 WORKING WITH MACROS...6 About Excel macros...6 Opening Excel (using Windows 7 or 10)...6 Recognizing
More informationMacro Quoting: Which Function Should We Use? Pengfei Guo, MSD R&D (China) Co., Ltd., Shanghai, China
PharmaSUG China 2016 - Paper 81 Macro Quoting: Which Function Should We Use? Pengfei Guo, MSD R&D (China) Co., Ltd., Shanghai, China ABSTRACT There are several macro quoting functions in SAS and even some
More informationInstructions for creating and modifying queries will be available in the future.
This document is intended to get you started quickly with BEx Analyzer 7.0. You will be able to open, run, and save queries; and export your data to Excel. Instructions for creating and modifying queries
More informationBasic Data & Dynamic Query
Working with data in ERP-ONE ERP-ONE provides a couple of ways to easily create or modify groupings of data Importing and Exporting using Excel Dynamic Query Working with data in ERP-ONE In order to work
More informationMacros enable you to automate almost any task that you can undertake
Chapter 1: Building and Running Macros In This Chapter Understanding how macros do what they do Recording macros for instant playback Using the relative option when recording macros Running the macros
More informationIdentifying Updated Metadata and Images from a Content Provider
University of Iowa Libraries Staff Publications 4-8-2010 Identifying Updated Metadata and Images from a Content Provider Wendy Robertson University of Iowa 2010 Wendy C Robertson Comments Includes presenter's
More informationPatricia Andrada Quick Guide Excel 2010 Data Management-July 2011 Page 1
Patricia Andrada Quick Guide Excel 2010 Data Management-July 2011 Page 1 Excel 2010 Data Management AutoFill and Custom Lists AutoFill 1. Select the range that contains the initial value(s) of the series
More informationCopyright & License Notes 3 Introduction 13 Chapter 1 - Excel Basics 14. Chapter 2 - Working with Data 32
TABLE OF CONTENTS Copyright & License Notes 3 Introduction 13 Chapter 1 - Excel Basics 14 Creating an Excel Workbook 14 Examining the Excel Environment 15 Opening an Existing Workbook 19 Navigating a Worksheet
More informationExcel to SDMX Templates for Fisheries Statistics
EUROPEAN COMMISSION EUROSTAT Directorate E: Sectoral and regional statistics Unit E-1: Agriculture and fisheries Excel to SDMX Templates for Fisheries Statistics User Manual Version 2.1 Friday, 17 May
More informationTo complete this workbook, you will need the following file:
CHAPTER 4 Excel More Skills 13 Create PivotTable Reports A PivotTable report is an interactive, cross-tabulated Excel report used to summarize and analyze data. PivotTable reports are used to ask questions
More information