# Import and export records

Load lots of records from Excel or CSV, update existing ones in bulk, and download a dataset as a spreadsheet.

Source: https://support.rework.com/article/import-and-export-records

Most datasets don't start empty. Your client list probably already lives in a spreadsheet, and next quarter someone will want the deliverables in Excel for a review. **Import records** loads rows from an Excel or CSV file into a dataset, and **Export records** hands the dataset back to you as a spreadsheet you can edit and re-import.

## Step 1: Open Import records

- Open the dataset.
  
- Click the caret next to its name (**Dataset actions**).
  
- Choose **Import records**.
  

**Export records** sits right below it. You'll find more on that in Step 4.

![The dataset actions menu with Import records and Export records](https://storage.googleapis.com/reworkv3-public/success/260923/UtiPslxQBtbumXSHBD4HPec7wizNY9az8umP51i06Omi7u9fJMxUCakuy57IFz8g/img.5F2XRxv4kAwXfcH3fReNYLHCea1fIrCXcEtVdu2HpfNht2hsamvGlGFEWVFbCViY.png)

## Step 2: Choose what the import does

The dialog imports from **Excel (.xlsx) or CSV**. First, choose **What to do**:

| Option | What happens | The id column |
| --- | --- | --- |
| **Create new records** | Every row becomes a new record | Leave it blank |
| **Update existing records** | Every row updates the record with that id | Required. Blank cells leave the value unchanged, so a sheet with only some columns updates only those |

Two options help with larger files:

- **Skip rows that repeat an id already in the file**: ignore duplicates instead of applying them twice.
  
- **Run in the background**: close the dialog and let the import carry on. Large files always run in the background.
  

## Step 3: Fill in the template and upload

- Click **Download template**. The file has one column per field of the dataset, with the right headers.
  
- Fill it in, or paste your existing data under the matching headers.
  
- Click **Choose file…** and pick the file.
  

A preview shows the rows that will be imported. Columns that aren't in the template are marked _Not a template column_ and ignored. Click **Import** to run it.

![The Import records dialog with What to do, Download template and Choose file](https://storage.googleapis.com/reworkv3-public/success/260923/DN9yniN5zFHD7nreK3raO5NA0EnfVT5DmIfJCGkCmvsfzOcTWP5LHo2LCCk1P6BV/img.r7PcOGG3gtPKrjPXzv8QgCnnrw4O6SPaR8vXBPMOWAF0XdgKYPHWdl7YAUMSDsOT.png)

When the import finishes, the report counts the records **Created** or **Updated**, **Skipped** and **Failed**. Tick **Show issues only** to see just the rows that need fixing, with the reason for each.

> **Note:** Values must match the field type: a date in a **Date** column, a number in a **Currency** column, an existing option in a **Dropdown** column. A row that fails is reported and skipped, and the other rows are still imported.

## Step 4: Export the dataset

- Choose **Export records** from the dataset actions.
  
- Pick the **File format**: **Excel (.xlsx)** keeps the columns typed, **CSV (.csv)** opens anywhere.
  
- Tick **Prepare in the background** to close the dialog and download the file later. Large exports always run in the background.
  
- Click **Export**.
  

The export always contains every record in the dataset, whatever view you were on.

![The Export records dialog with the file format choice](https://storage.googleapis.com/reworkv3-public/success/260923/bL7lxCdMZTpRQPkgZeMJOP6uaa5u6W3S7a7frTFmpqDQyt9g3XkT6A6A6RtbuPYJ/img.7ubEJLvyjOP17OtcSzLdCm5sJFLhO9NPmAex3EJvAvCKe8jsjpK1Hk4AXX3ehZmY.png)

> **Tip:** 💡 To change many values at once, export to Excel, edit the cells, then import the same file with **Update existing records**. The id column that the export includes is what matches each row back to its record.
