Connect Excel

Connect an Excel source to load .xlsx workbooks into the Lake. You can add workbooks from this computer, or read them from a folder on an SFTP server, and you choose how their sheets become tables.

Create an Excel source

  1. Open Lake and click Add datasource, then choose the Excel source in the picker. Supported connectors describes the picker and the shared fields.
  2. Enter a Name of at least 3 characters and a Code of letters and numbers, at least 2 characters, and choose a Folder if you want one.
  3. In the Configuration section, choose a Connection Type: Upload Excel (the default) or SFTP.
  4. Add the workbooks or fill in the server fields, as described below.
  5. Choose how the source processes the files and builds tables.
  6. Click Add. On an existing source the button reads Save, and Duplicate creates a copy.

Once the source is saved, import its tables.

Add workbooks from this computer

Choose Upload Excel as the Connection Type.

  1. Drop your workbooks onto Drop Excel file here, or click browse. The zone notes .xlsx files, up to 300 per save.
  2. Check the list that appears under the zone. Each row shows the file's name, size, date and a badge: existing for a stored workbook, new for one you just added, and replace for one whose name matches a stored workbook.

An Upload Excel source needs at least one file. With an empty list, the save is blocked and the form shows At least one file is required for upload connection type.

Choose how the files are processed

Processing Type sets how the files are handled: Process together (Process all files together as a single batch) or Process one by one (Process each file individually). Process together is the default.

How the sheets become tables is set with Processing Method:

OptionWhat it does
Each file's sheet as separate tableCreate individual tables for each sheet in every file
Union sheets inside fileCombine all sheets within each file into a single table per file
Union tables by sheet namesCombine sheets with matching names across all files
Union all sheets and tablesCombine all sheets from all files into a single table

The same card holds these options for the batch:

With Process one by one, each file row carries its own options: Union sheets, Transpose, Convert time, Skip validation and First row is header.

Read workbooks from a server

Choose SFTP as the Connection Type and fill in every field.

SettingWhat it does
HostThe server name or IP address.
PortThe server port. Defaults to 22.
UsernameThe sign-in name.
PasswordThe sign-in password. After you save, it is not shown again: the field reads Stored password, with Replace.
Remote DirectoryThe folder that holds the workbooks. The placeholder reads Enter remote directory and the hint reads Specify the remote directory path (e.g., /folder1/folder2).

Edit or duplicate a source

Limits and edge cases

For the messages you may see while you connect an Excel source, read Lake troubleshooting.

Questions, answered

What does the Excel drop zone accept?

.xlsx workbooks. Each workbook can be up to 1 GB.

How many workbooks can I add in one save?

Up to 300. If you add more, the extra files are not added and the form shows One save uploads at most 300 files; any beyond that were not added. Save, then add the rest.

What happens when I add a workbook that has the same name as a stored one?

It is marked replace and takes the place of the stored workbook when you save.

Why can't I download a workbook I just added?

The download actions cover stored workbooks. Download file appears beside stored files, and Download All appears when you edit an existing source. A file you have just added is not stored until you save.

Why does a large upload show File Too Large?

The upload exceeded the allowed size and the request dropped. Keep workbooks to 1 GB or less and upload again.

Can I read workbooks from a server instead of uploading them?

Yes. Choose SFTP as the Connection Type and fill in Host, Port, Username, Password and Remote Directory. Test connection is available for SFTP sources, and the Remote Directory must start with / and must not end with /.

What is the difference between Process together and Process one by one?

Process together handles all files as a single batch, and you set the processing options once for it. Process one by one processes each file on its own, and each file row gets its own options: Union sheets, Transpose, Convert time, Skip validation and First row header.

How do the sheets of my workbooks become tables?

Processing Method decides it. Each file's sheet as separate table gives every sheet its own table; the Union options combine sheets inside a file, sheets with matching names across files, or everything into one table.

What changes when I edit a saved Excel source?

The form opens filled with the saved settings, stored workbooks show the existing badge and Download All is available. Connection Type and Processing Type are locked, and the button reads Save.

Can I duplicate an Excel source?

Yes. Duplicate creates a copy. Set the values you want on the copy, including Connection Type and Processing Type.

Is this the same as Excel Workbook in Load files?

No. This page covers the Excel connection form: workbooks come from this computer or an SFTP server, and the form's processing options build the tables. Excel Workbook is a file source that uses the file form, where workbooks can also come from FTP or an S3 bucket and where format and grouping options apply; see Load files and Supported connectors.