Import Microsoft Excel data

Import Microsoft Excel data to Analytics for analysis using a variety of different tools.

How it works

You use the Data Definition Wizard to select one or more Excel files, specify one or more worksheets to import, and import the Excel data to Analytics. The imported data creates one or more new Analytics tables and associated data files (.fil). Each imported worksheet creates a separate Analytics table.

The Analytics data file contains a copy of the Excel data that is completely separate from the original Excel file.

You can import data from an Excel file even if you do not have Microsoft Excel installed on your computer.

Import a single worksheet or multiple worksheets

You have the option of importing a single Excel worksheet or multiple Excel worksheets in a single operation. The import process differs somewhat, depending on which option you use:

  • single worksheet you have the option of manually defining the source Excel data during the import process
  • multiple worksheets Analytics automatically defines the source Excel data and no manual definition is possible during the import process

    For example, during the import of multiple worksheets, you cannot:

    • specify the data type or length of fields
    • selectively exclude fields from the import

    Once the data is in Analytics, you can make any necessary adjustments to the data definition in the Table Layout dialog box.

Import a named range

Instead of importing an entire worksheet, you can import a named range, which is a defined portion of a worksheet. See the Excel Help for information about creating a named range.

Combine multiple worksheets

After you import multiple Excel worksheets into individual Analytics tables you might want to combine them into a single Analytics table. For example, you could combine the data from twelve monthly tables into a single annual table containing all the data. You can combine the worksheets only after you have imported them into individual Analytics tables.

For information about combining multiple Analytics tables, see Appending tables.

Tip

To reduce labor, try combining the multiple tables first before making any required adjustments to the data definition in the new combined table.

Guidelines

Review the guidelines below to assist you with importing Excel data.

Data types and missing data

To get the best results when importing Excel data, ensure that in each worksheet you intend to import:

  • each column contains the same type of data
  • there are no blank rows or blank columns

Maximum numbers of columns and characters

Excel 2007 and later

The maximum number of Excel columns, and the maximum number of characters in a field, that you can import from .xlsx or .xlsm files is not limited to a specific number.

Importing from these Excel file types is governed by the record length limit in Analytics data files (.fil) of 32 KB. If any record in the source Excel data would create an Analytics record longer than 32 KB, the import fails.

Note

When the new table opens in Analytics, a maximum of 256 columns are displayed in the default view. If the table contains additional columns, you can manually add them to the view, if required.

Excel 97 – 2003

The import of .xls files (Excel 97 - 2003) uses an older type of processing, and is subject to the following maximums:

  • 255 columns
  • 255 characters per field
  • 32 KB per record
  • 65,000 rows

Supported versions of Excel

You can import data from any version of Excel from Excel 3.0 to Excel 2016.

If you want to import data from an earlier version of Excel, you need to save the Excel file to another file format that Analytics can import, such as .csv.

Excel Protected View

Analytics cannot import from an Excel workbook if Protected View is active for the workbook. You must first enable editing in the workbook, save and close the workbook, and then perform the import.

Web-based Excel files not supported

Analytics does not support directly importing Excel files created from web applications such as Google Sheets. You must first open the file in Excel, save it under a different file name, and then import the new file using Analytics.

How overwriting works

If you import Excel data and create a new Analytics table that has the same name as an existing table in the Analytics project you have the option of overwriting the existing table.

Import a single Excel worksheet

Import a single Excel worksheet, or named range, to create a new Analytics table. You have the option of manually defining the source Excel data during the import process.

Import multiple Excel worksheets

In a single operation, import multiple Excel worksheets, or named ranges, from an Excel file, or from multiple Excel files. Once imported to an Analytics project, each worksheet or named range becomes a separate Analytics table.

Analytics automatically defines the source Excel data and no manual definition is possible during the import.

Once the data is in Analytics, you can make any necessary adjustments to the data definition in the Table Layout dialog box.