to create a secondary data connection
go to tools -> data connections -> add
-> select recieve data -> next
select database -> next
click database -> select your excel file
then in data source structure select columns you want to retrieve (employee name, department)
on the name text box
set a rule to set value of department text box to data from secondary data connection, filtered on name