The resulting .csv file from "Export User List" has a column for Entitlement Groups (column G).
The .csv file used for bulk importing of users has the same column, download the example file to use as a template.