I've added headers to the data, you can also add additional information. I also made the names unique otherwise you get one person in multiple depts.
I also added a root to link the departments. But you can skip this if you want and the you'll have 3 unconnected diagrams.
You can get more advanced using the Property mapper
Results after mapping
A more general solution would be to have a sheet for the list of nodes containing the data of columns B and C, but each node only once, and a sheet for the list of connections containing the data from A and B.
Kind regards,
Michael