iamconstance
New Member
- Joined
- Nov 12, 2013
- Messages
- 5
Employee number | Employee name | Project | Hours |
12345 | John Smith | ABC | 3 |
12345 | John Smith | ABC | 10 |
12345 | John Smith | ABC | 12 |
<tbody>
</tbody>
Hoping someone who knows VBA can help me out.
I have a spreadsheet that pulls employee staff numbers and the amount of hours they worked each week. The issue is that some employees may have worked on more than one project each week.
What I need to do is write some VBA that will identify the employee numbers that are duplicated (or triplicated, etc.), insert a row below them, copy the employee number and sum the total hours worked. I then want the duplicated (or triplicated, etc) employee numbers deleted so that I can do a vlookup and only pull back the total hours worked.
Example above
Any help is GREATLY APPRECIATED