A macro to auto generate rows based on date range

Mayfarm

New Member
Joined
Jul 10, 2014
Messages
2
Hi,

I have tried to look around different forums in order to find some help with my problem, but I have not had any luck, so now I hope one of you might be able to help me out.

I am working on generating an overview of my departments capacity in mandays pr. month for a Resource Management iniative. Currently we are working in a setup where different employees can be working under different roles. For example in a 20 man day month David has the capacity to work 2 days in role A and 18 days in role B. So I have identified this for every employee, and have it in a table. This table also contain the start and the end date of every employee.

So my question is, how can I create a macro which will take Employee, Role, Man days pr. month and distribute it from start month and end month for every single instance in another table?

I hope my explanation makes sense, and thank you very much in advance.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,215,106
Messages
6,123,122
Members
449,096
Latest member
provoking

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top