Skip to content

Importing personnel from Excel or CSV

Instead of entering the personnel details you have one by one, you can import them with an Excel or CSV file. The import is previewed first; you see what happens to each row before anything is written.

Importing needs the permission to edit personnel files. Employees themselves are not created by the import: the people must already be in the Employees list. Every row in the file finds the person by their employee code.

On Personnel → Personnel files, click Import. The Import personnel data dialog opens.

  • Excel template (.xlsx): Holds three sheets: Personnel (personal details, PPE sizes, custom fields), Education and Certificates. There is also a Help sheet describing every column.
  • CSV template: A CSV file is one sheet. In the Sheet of the CSV template list, pick the one you want: Personal info, Education or Certificates.

The template is prepared for your company: it has a ppe_CODE column for each PPE size type and a cf_key column for each custom field.

  • In each row’s employee_code column, write the employee’s code exactly, for example EMP-1042.
  • The Personnel sheet: personal details, address, at most three emergency contacts (emergency1_…, emergency2_…, emergency3_…), PPE sizes and custom fields. One row per person.
  • The Education sheet: one row for each education record. A record is matched by level + school; a matching record is updated, a non-matching one is added.
  • The Certificates sheet: one row for each certificate. A record is matched by its certificate number, or by name + issue date if there is no number.
  • The full list of columns and their formats is on the template’s Help sheet.

Rules:

  • An empty cell does not change the stored value. You cannot delete a value with the import; to delete one, edit the file by hand.
  • A column that is not in the file changes nothing.
  • If you write emergency contacts in a row, that person’s emergency contact list is replaced with the ones in the row.
  • Imported certificates are Approved at once.
  1. Pick your file with Choose file. Limits: at most 5000 rows and 4 MB; .xlsx or UTF-8 .csv. In a CSV the separator can be a comma or a semicolon.
  2. Click Preview. Nothing is written.
  3. Read the summary line, for example “Preview: 240 rows. 180 new, 50 to update, 6 unchanged, 4 with errors.”
  4. Look at the row table. Columns: Sheet, Line, Employee code, Person, Action, Details. The actions:
Action Meaning
New A new record will be created (file, education or certificate).
Update An existing record will change. Details: “Changed columns: …”.
No change The row is the same as the stored values.
Error The row will not be written. Details says why.

See only the problem rows with Only rows with errors. For files with many rows, the first rows are shown.

  • The employee code was not found.
  • An invalid national id, country code, date, year or number.
  • A PPE size that is not one of the type’s allowed values.
  • A value that does not fit the custom field’s type, an option not on the list, or a required field left empty.
  • An inactive custom field or PPE type.
  • An emergency contact’s name or phone is missing.
  • An end date or year before the start.
  • The same record appears twice in the file, or the row fits more than one record.
  • Text that is too long.

A CSV that is not UTF-8, an Excel file that cannot be read, a workbook without a recognized sheet, an unknown, duplicated or missing required column, a file without rows, more than 5000 rows. In that case fix the file and choose it again.

  1. If the preview looks right, click Apply.
  2. Only the rows without errors are written; rows with errors are skipped.
  3. The result: “Imported: 240 rows. 180 new, 50 updated, 6 unchanged, 4 rows with errors skipped.”

You can fix the rows with errors and import the same file again: rows written before become No change and nothing is written twice. If there is nothing to write, it says “There is nothing to write.”

Every import is written to the audit trail.