---
description: The column-by-column format of the Excel workbook a Manual event imports — mandatory and optional columns, custom columns, date formatting, the room consistency rules, a sample sheet and the template download.
---

# The Excel workbook

This page is the reference for the workbook an [Excel import](excel_import.md) reads: which
columns it needs, what goes in each, how custom data is added, and the rules every row must
satisfy. Start from the template or from an export of the event rather than a blank sheet —
the column names must match exactly.

## Getting a starting file

- **Download Excel Template** in the upload dialog gives you an empty workbook with the
  header row; the same file is [here](../assets/excel-import/SignageImportTemplate.xlsx).
- **Export** the event (see [Excel export](excel_export.md)) to get its current rooms and
  items, with their **ITEM ID**s, ready to edit and re-import.

Only the first worksheet is read, and the first non-empty row must hold the column names.

## Columns

| Column | Required | Content |
| --- | --- | --- |
| **ITEM TITLE** | yes | The item's title. This is the only title input; do not repeat it as `title` in `JSON_DATA` |
| **ITEM START** / **ITEM END** | yes | Start and end as real Excel date-time cells (not text), for example `2024/01/15 09:00:00`; the end must be after the start. These set when the sign shows the item — its Display Time |
| **ROOM CODE** | yes | The room's permanent identifier, for example `CR-A`. Rooms are matched by code, never by title; see [Rooms](rooms.md#adding-a-room) |
| **ROOM TITLE** | yes | The room's name as shown on signs. Two codes may share a title |
| **ITEM ID** | see below | The item's stable identifier, case-sensitive. Generated IDs look like `ID-A1B2C3`; your own IDs (from another system) must not start with `ID-` |
| **RENDER START** / **RENDER END** | no | The times printed on the sign (`time_start` / `time_end` in the item's JSON) when they differ from ITEM START / END. Date-time cells; the end must be after the start |
| **ROOM OFFSET** | no | The room's offset in seconds: positive shows the room's items earlier (*Before*), negative later (*After*); blank means 0. Keep within ±86400. A supplied value replaces the room's current offset, including one changed in the app since the last import (see [Display time examples](display_time_examples.md)) |
| **JSON_DATA** | no | A JSON object with the item's custom data, for templates. Must not contain root `room`, `title` or `external_id` properties in any capitalization: rooms come from ROOM CODE / ROOM TITLE, the title from ITEM TITLE, and `external_id` is filled from ITEM ID. Exports omit all three. Older copies of the template head this column `JSONDATA(optional)`; it is read as `JSON_DATA` |

**ITEM ID** is optional for a first import into an empty event (leave it blank everywhere and
IDs are generated; or supply your own IDs for *every* row and enable **Allow new custom ITEM
ID values**). Once the event has rooms or items the column is **required**: keep the exported
ID on rows that already exist, and leave it blank on new rows. The same field is the
**Item ID** of the Add Item dialog in the app.

## Custom columns

Any other column becomes a property in the item's JSON data, keyed by the header. Header
rules: no spaces, quotes (`"`), backslashes (`\`) or control characters; not one of the
reserved words `room`, `title`, `time_start`, `time_end`, `external_id` in any capitalization.
Use either custom columns *or* a `JSON_DATA` column, not both in one file.

## Dates and times

- Date-time cells must be real Excel dates, not text; text is rejected with *Column … must
  be a date-formatted cell*.
- ITEM END must be after ITEM START, and the render times must be in order too (a blank
  RENDER START or END uses the ITEM time). With a `JSON_DATA` cell, its `time_start` and
  `time_end` are the render times that are saved — they must be in order, and RENDER START /
  END are ignored.
- Times are read to the whole second; fractions are dropped, so two times within the same
  second count as equal, and an end equal to the start is rejected with the row number.
- Every row must fall within the event's dates.
- Times are read in the event's time zone. On the day the clocks change, a row can be in
  order although its clock times look reversed, and overlaps are checked by the actual
  moment, not the clock time. A wall-clock time that does not exist on a spring-forward
  night is moved forward to the next valid time.
- ROOM OFFSET must be a whole number.

## Room consistency

- Every row with the same ROOM CODE must have the same ROOM TITLE.
- Every row with the same ROOM CODE must have the same ROOM OFFSET (or all blank).
- Different ROOM CODEs may share a ROOM TITLE.
- Items in the same ROOM CODE must not overlap each other. In add/update mode they must not
  overlap existing enabled items in that room either; in replace mode they may overlap only an
  existing item the file omits, because that item is deleted by the replace.

Accepted:

```text
ROOM CODE | ROOM TITLE
CR-A      | Conference Room A
CR-A      | Conference Room A
CR-B      | Conference Room A
```

Rejected — one code, two titles:

```text
ROOM CODE | ROOM TITLE
CR-A      | Conference Room A
CR-A      | Meeting Room A
```

The workbook carries only these room properties: code, title and offset. Everything else you
set on a room in the app — its sign size, its templates, whether it is disabled — is left
untouched by an import.

## Sample sheet

| ITEM ID   | ITEM TITLE    | ITEM START          | ITEM END            | RENDER START        | RENDER END          | ROOM CODE | ROOM TITLE        | ROOM OFFSET | presenter_name | equipment_needed |
| --------- | ------------- | ------------------- | ------------------- | ------------------- | ------------------- | --------- | ----------------- | ----------- | -------------- | ---------------- |
| ID-ABC123 | Board Meeting | 2024/03/15 09:00:00 | 2024/03/15 11:00:00 | 2024/03/15 08:55:00 | 2024/03/15 11:05:00 | CR-A      | Conference Room A | 30          | John Smith     | projector        |
| ID-DEF456 | Product Demo  | 2024/03/15 14:00:00 | 2024/03/15 16:00:00 |                     |                     | CR-B      | Conference Room A | 0           | Jane Doe       | microphone       |

`presenter_name` and `equipment_needed` are custom columns; a template reads them as
`presenter_name` and `equipment_needed` in the item's data.

## Related

- [Excel import](excel_import.md) — running an import, the modes and preview
- [Excel import errors](excel_import_errors.md)
- [Excel export](excel_export.md)
- [Display time, render time and room offset](display_time_ownership.md) — what the ITEM and RENDER columns set
