Presentation is loading. Please wait.

Presentation is loading. Please wait.

WINKS 7 Tutorial 6 – Opening an Excel data file Permission granted for use for instruction and for personal use. www.texasoft.com © Alan C. Elliott, 2015.

Similar presentations


Presentation on theme: "WINKS 7 Tutorial 6 – Opening an Excel data file Permission granted for use for instruction and for personal use. www.texasoft.com © Alan C. Elliott, 2015."— Presentation transcript:

1 WINKS 7 Tutorial 6 – Opening an Excel data file Permission granted for use for instruction and for personal use. www.texasoft.com © Alan C. Elliott, 2015 www.texasoft.com

2 Importing External Data WINKS SDA can open files in several common data formats including Microsoft Excel (.xls), Text (.txt), Comma Separated Values (.csv), and dBASE (.dbf). The data to be imported must be in an acceptable format. This example illustrated importing an Excel file. texasoft.com2

3 For example, an Excel file in your SDA data directory named EXAMPLE.XLS contains the following information: texasoft.com3 Notice that row 1 in this Excel file contains variable names. For guidelines on preparing an Excel Data file so you can open it in WINKS, see Part 3 of the Reference Guide.

4 Using Excel Data Example 1: Open an Excel File in WINKS Step 1: Select File, Open data set… Depending on your version of Windows, the Open dialog box allows you to select “Files of type” to open. Select the.xls Excel file type. texasoft.com4 Choose type of file to open

5 Choose file types.xls, and this list of files is displayed: texasoft.com5 Step 2: Select the file named EXAMPLE (EXAMPLE.XLS) and click Open.

6 Step 3: Import Excel File WINKS prompts you to select which worksheet in the Excel file to import. For this example, accept the default (Example) and click Import. texasoft.com6

7 Step 4: First Row Variables WINKS asks if the first row of the worksheet contains variables names. Select Yes. texasoft.com7

8 The data are imported into the WINKS data grid. You can now use the data for any analysis. We recommend that you – Save the data set as a WINKS.SDA file – Look at the Attributes tab to verify that the data have been imported correctly (as far as numeric and character variables) – Add missing value codes if needed. – Note: Your Excel worksheet must be in.XLS format (not.xlsx format) for WINKS to open it. If it is in the.xlsx format, resave it in Excel using "save as type" into the.xls format. texasoft.com8

9 Another Way to Import Excel Data Using Excel Data Example 2: Copy and Paste from Excel. You can copy and paste information from any version of Excel file into WINKS. (or from any other program that has data in a table format, including web pages.) If you have any problems opening an Excel file in WINKS, use this technique… texasoft.com9

10 Step 1: Copy Data From Clipboard Open EXAMPLE.XLS in Excel (any version.) Highlight and copy the data cells (not the column names). Go to WINKS, and with your cursor at the top left of a blank data sheet, select Edit, Paste. The data are copied into the WINKS data grid. texasoft.com10

11 Step 2: Set Attributes Click on the Attributes tab to name the variables and specify data types, and missing values. Data are now ready for use. As in the previous example, we recommend that you Save the data set as a WINKS.SDA file Look at the Attributes tab to verify that the data have been imported correctly (as far as numeric and character variables) Add missing value codes if needed. texasoft.com11

12 This material is from the WINKS Getting Started Tutorials, available on texasoft.com WINKS SDA 7 Statistical Data Analysis and Graphs "Windows KwikStat" Getting Started Guide, Version 7 (Covering BASIC and PROFESSIONAL Editions of WINKS) Permission granted for use for instruction and for personal use. www.texasoft.com © Alan C. Elliott, 2015 12texasoft.com


Download ppt "WINKS 7 Tutorial 6 – Opening an Excel data file Permission granted for use for instruction and for personal use. www.texasoft.com © Alan C. Elliott, 2015."

Similar presentations


Ads by Google