Yes, this is indeed very unclear. But I think you want a template to save data for a particular month and when other month is selected then data for that month is loaded into the spreadsheet.
Well for that, Excel isn't God that it would know by itself that this has to be done. You need to create a DataBase for that where data for all months is stored and then extract data for the selected month into the "Planned" sheet.
Here, you would require 2 macros. First for loading the data from DataBase to the Planned sheet. Next for saving the data and changes back to DataBase from Planned sheet.
Now, the macros provided below would consider each alternate row of data starting from the second row. So 2nd, then 4th, then 6th and so on... You can change the number of people in the macro.
Before you begin with working with the macros. First enter number of people and number of projects in all the macros.
Then run the macro named set_database which will set the database ready for use.
Now after pasting all these 3 macros in a module you need to create a private macro in the sheet module. So right click on the sheet "Planned" and click on view code. Now paste the 4th macro there.
So these 3 macros go in standard module-
The 4th macro goes in the Planned Sheet code-
Note- Column "T" has been used for keeping the list of all months for the dropdown and "U1" has been used as a helper cell for the macro.
- You cannot change number of people in the middle of the functioning of these macros. PLEASE BE SURE ABOUT THE NUMBER OF PEOPLE YOU WOULD HAVE AS IT CANNOT BE CHANGED, ONCE SETUP IS GENERATED. If you change the number of people and run setup macro it would clear all existing data in database. So to be on the safer side input a large number of people, like if you have 10 people enter 15 or 20 instead so in near future this doesn't create problems.
Check attached for an example.
Advanced-Resource-Planning(5).xlsm
Now try adding some data in the planned sheet and change the month from dropdown in Cell A1.
Bookmarks