Excel import & export

Excel in, Excel out. Review in between.

Some work will always happen in a spreadsheet. Data Editor lets it, and makes sure that what comes back is matched, checked and seen before it reaches the table.

The grid after an Excel import: new rows in green and changed values in wheat, waiting for review.
Why it matters

The round-trip, without the risk

An import that writes straight to a table is a leap of faith.

Export writes the rows the grid currently shows, filtered and sorted, to an .xlsx file whose headers are the column names people see. Key columns are included even when they are hidden, so the file can always find its way back.

Import reads such a file and matches each row to the table on the dataset's alternative key, or on its primary key when there is none. Matched rows get their changed values, unmatched rows are added as new rows, and the whole result appears in the grid as pending changes to review and save.

Walkthrough

Import and export, step by step

Screens from the product.

Step 1

Export what you see

Export writes the filtered, sorted rows of the grid to a workbook named after the dataset and the date. Numbers stay numbers and check boxes stay true or false.

  • Headers are the column names people see
  • Lookups exported as their code, or else their name
  • Allowed per dataset, by its owner
Step 2

Import a workbook back

Pick an .xlsx file and Data Editor tells you how many rows it holds, which key columns it will match on, and which headers it cannot place, before anything happens.

  • Columns matched on their names, ignoring case
  • Rows matched on the alternative key, or else the primary key
  • Optionally mark rows missing from the file for deletion
The Import Data from XLSX dialog, showing the file's row count and the key column used for matching.
Step 3

Review every imported change

The imported rows land in the grid as pending changes: new rows in green, changed values in wheat with their previous values. Look them over, undo what you do not want, and save.

  • Only values that actually changed are touched
  • Key and read-only columns are never overwritten
  • Saved with the same rules and audit as any edit
The grid after an import: new rows in green and changed values in wheat, with the import summary message above.
Highlights

Built for real workbooks

The cases that break naive imports.

Lookups come back as keys

A lookup column in the file can hold the code or the name; import matches either back to the stored key.

Only what the dataset allows

New rows are added only if the dataset allows inserts, and deletions only if it allows deletes.

Nothing written on import

Import only stages changes. The table changes when someone presses Save changes and confirms.

Related

Keep exploring

Features that work with import and export.

Export a real workbook from the playground

The playground's Export button writes an actual .xlsx file of the rows you see.