How to get subsets by unique values

This is fantastic. Thank you @GreyMerchant

Also, you mentioned something about unpacking.

df1 <-- df_list[[1]] gives me a subset for department 'Training'. Is there a way to automatically unlist one by one by their department and save as department.xlsx ?

see this post to get additional details: