I have a spreadsheet that is sent weekly listing names and various amounts that are owed by those names. The spreadsheet can vary in names and length, but the column will be the same for the amounts and names. I need to take all the names, assign the department they work in, then take the totals for each department by adding each employee amount within that department.
What I've been doing:
I can copy just those amounts into a different spreadsheet, then using a separate spreadsheet, manually enter their department #. Then I'll add based on the departments. The problem is that this can get pretty time consuming and it happens every week. Sometimes the list of names is short (around the 50 mark) but other times can creep up into the 100s-200s mark.
My Question:
Is there an easy way to set up a spread sheet that can somehow go through each employee, compare it to a separate spreadsheet that contains the employee and department, then assign the department to that employee. Then finally, automatically add each department?
I don't know hardly anything about VBA, but maybe that might be the route I have to go?
Here is a VERY small example workbook:
Sheet 1 Column A contains the names, Column B contains the amount. I need to populate Column C with the department, then add the department totals.
Sheet 2 Column A contains a list of names, Column B contains their department.
liteExample.xlsx
Any advice and help would be very much appreciated.
Bookmarks