Excel (.xlsx, .xls) File Format
Excel file format
Description
Examples
Compatibility
The Excel spreadsheet format is the native file format of Microsoft® Excel.
The name refers both to the Excel Binary File Format (.xls) in use until Excel 2007, and to the Office Open XML spreadsheet format (.xlsx) in use by Excel 2007 and later revisions.
The ExcelTools package allow detailed control over import and export of Excel spreadsheets.
The general-purpose commands Import and Export also support this format.
The default output from Import for this format is a DataFrame. To produce a Matrix, use Import(...,output=Matrix).
Import data from an Excel spreadsheet.
M≔Import⁡Excel/ExperimentalData.xls,base=datadir
Import data from an Excel spreadsheet as a Matrix.
M≔Import⁡Excel/ExperimentalData.xls,base=datadir,output=Matrix
To perform the following example, you should create an Excel spreadsheet named Employees.xlsx with the necessary sheets and cells.
Q≔ExcelTools:-Import⁡Employees.xlsx,Payroll,B2:C9:
With Maple 2016, the Import command applied to Excel files now produces DataFrame objects by default.
See Also
ExcelTools
ExportMatrix
Formats
ImportMatrix
Download Help Document