# Import a schedule

> Bring a past or current schedule in from a CSV file, in list or grid layout, match the names it could not recognize, and know what is created.

You can bring an existing schedule into Staffedly from a spreadsheet or an export from another scheduling tool. Past shifts become history, which the generator uses to share shifts and weekends fairly from the first draft. Upcoming shifts go straight onto the live schedule.

Add your facilities and people first. The import matches names in the file to records you already have; it does not create people or facilities.

![The import box under Schedule, Versions and rotations, with the Import a schedule CSV and Template buttons](https://staffedly.com/docs/img/getting-started/schedule-import-versions-tab.webp)

## Who can do this

Admins and schedulers. Previewing a file needs the **Scheduling** access area; importing also needs permission to publish, because upcoming shifts become live.

## Where to find it

- **Get started**, in the card **Recommended: import past schedules** (admins).
- **Schedule**, **Versions & rotations**, then **Import a schedule from a spreadsheet**.

## Prepare the file

The file must be CSV. Save an Excel or Google Sheets tab as CSV first. **Template** downloads an example. Two layouts are read, and Staffedly works out which one you used.

**List: one row per shift.** The first row names the columns. Common header names are recognized, for example `staff` or `name` for the person and `location` or `site` for the facility.

| Column | Needed | Notes |
| --- | --- | --- |
| `date` | Yes | `2026-12-01`, `12/1/2026`, `12/1` or `1-Dec-2026`. |
| `provider` | Yes, or `email` or `npi` | The person's name. `Lee, Jordan MD` and `Jordan Lee` are read as the same name. |
| `facility` | Yes, unless you have only one | The facility's code or its full name. |
| `start`, `end` | No | `07:00`, `7a`, `3:30 PM`. An end before the start runs overnight. |
| `shift` | No | A label. `Call` makes it a call shift. `OFF`, `PTO`, `VAC`, `SICK`, `LEAVE` or `HOLIDAY` makes the row a day off. |

**Grid: people down the side, dates across the top.** Each cell holds a facility code, optionally with times, or a day-off word: `RMC`, `RMC 7-15`, `Call RMC`, `OFF`. Empty cells are ignored. A file is read as a grid when at least three column headers are dates.

![A grid file read as 82 cells, with the count of shifts, calls and days off it will add](https://staffedly.com/docs/img/getting-started/schedule-import-grid.webp)

When a row has no times, Staffedly uses, in order: a shift type at that facility whose name appears in the label, the facility's call hours for a call, or the facility's usual shift hours.

## Import the file

1. Click **Import a schedule CSV** and choose the file. Nothing is saved yet.
2. Read the preview. It says how many rows were read, the date range, and how many shifts, calls and days off will be added, split into past and upcoming.
3. Match what was not recognized (next section).
4. Click **Import** followed by the number of records.

![The preview for a list file: 96 shifts, 5 calls and 1 day off, with one unknown name and one unknown facility](https://staffedly.com/docs/img/getting-started/schedule-import-preview.webp)

## Match names that were not recognized

People are matched by email, then NPI, then name. A name only matches when exactly one person on your roster has it. Facilities are matched by code or by full name.

Anything else is listed under **Who is this?** or **Which facility?** with the number of rows it appears in.

1. For each one, pick the right person or facility from the dropdown, or leave it on **skip**.
2. Click **Re-check with these matches** to see the new totals.
3. Click **Import**.

Rows left on **skip** are not imported. To bring them in later, add the missing person or facility and import the same file again; rows already imported are not added twice.

## What gets created

- **Shifts that have already ended** are saved as worked history. They count toward fairness and the call record. The import does not create clock records, so it adds nothing to payroll.
- **Upcoming shifts** are added to the live, published schedule. Nobody is notified.
- **Day-off rows and cells** become approved time off. Days in a row for the same person are joined into one period.
- **Call rows** become call shifts.

![The confirmation after an import: 74 shifts, 2 calls and 6 days off](https://staffedly.com/docs/img/getting-started/schedule-import-done.webp)

The import is recorded in the [Audit log](https://staffedly.com/docs/run/audit-log).

## What is skipped

- A shift that was already imported from an earlier file.
- A shift that overlaps one the same person already has. Staffedly never double-books from a file.
- Rows with a date that cannot be read. The preview lists the line numbers.

![The same file chosen again: every shift is reported as already imported](https://staffedly.com/docs/img/getting-started/schedule-import-again.webp)

## Limits

- 10,000 rows per file. A larger file is refused and nothing is imported; split it by month.
- CSV only. There is no direct import of `.xlsx` files, PDFs or calendar files.
- Imported upcoming shifts are not checked against credentials or your rules. Review them on the [Schedule calendar](https://staffedly.com/docs/plan/schedule-calendar).
- There is no "undo import" button. Upcoming shifts can be cancelled on the calendar. Past days are read-only there, so check the preview before you import history.

## Questions

### How much history should I bring in?

A month or two is what the app recommends. It is enough for the generator to balance recent shifts and weekends.

### I use QGenda. Do I need this?

Not for what QGenda holds: the QGenda connection brings its schedule across. Use the file import for anything older or kept elsewhere. See [Moving from QGenda](https://staffedly.com/docs/switching/from-qgenda).

### Can the team import my spreadsheets for me?

Yes. See [White-glove onboarding](https://staffedly.com/docs/getting-started/white-glove-onboarding).
