Creating Resource Capacity Planning Per Project
Jul 30, 2013
I am trying to create a resource capacity planning per project and I have some issues with some functions. Here is what I did :
1/ I have a workbook for each project with 4 sheets : "Project", "Pivot", "Project Identification", "Capacity"
2/ On the Project sheet I have the volume of man days for resources (rows, can be multiple according to the resource skill) per project phases (columns, always Gate 1 to 6).
3/ On the second sheet I have the pivot table of the first sheet which sum up the volume of man days for each resources per project phases.
4/ On the third sheet I have a project identification table with the columns Date, Week Number, Duration (Weeks), Phase (Gate 1 to Gate 6, so 6 rows). I required the user to enter the date of each Gate, the week number and duration are calculated.
5/ On the last sheet I have my capacity planning with:
- the number of columns is always 52 corresponding to a full year, but can start in the middle of the year, for example start week 30 to end week 29.
- the first row is the weeks numbers, the first cell is the week number of the Gate 1 date, the following cells are the previous cell +1 ( fx=IF(B1>51;1;B1+1) )
- the second row is the phase we are in at that week ( fx=VLOOKUP(B1;'Project Identification'!$B$2:$D$8;3;TRUE) )
- the following rows are the man days for each resources (1 row per resource), this is only the volume of man days for the phase identified in the sheet "Project" divided per the number of weeks for this phase. ( fx=IF(Pivot!$A2="";"";IF(C$2="";"";HLOOKUP(B$2;Pivot!$B$1:$G$4;ROW()-1;FALSE)/VLOOKUP(B$1;'Project Identification'!$B$2:$C$8;2;TRUE))) )
This is working ok if the project execution is within a year (for example from week 20 to week 41). But if the project is over 2 years (for example from week 41 year n to week 12 year n+1) it does not work at year changing.
For example if I have Gate 3 on 19/08/2013, Gate 4 on 30/11/2013, Gate 5 on 29/01/2014 and Gate 6 on 12/02/2014 then on the "Capacity" sheet for week 34 I will have Gate 3 but on week 35 it will switch directly to Gate 6 up to week 52 and then at week 1 I will have "#N/A".
View 3 Replies
ADVERTISEMENT
Apr 5, 2014
I need to calculate the subscription amount based on the capacity of the wind mill.
The slab rates are as follows:
1. Up to 0.6 MW - Rs.3,000
2. more than 0.6 up to 3MW-Rs. 7,000
3. 3 MW up to 98MW -Rs. 7,000 for the first three MW and Rs.1,500 per MW in excess of 3 MW
4. Above 98 MW -Rs. 1,50,000
I had tried IF statement but was not successful.
View 1 Replies
View Related
Aug 4, 2014
I have a table of projects with 1) duration in year, 2) time window (number of years of our planning cycle), and 3) start year of the project. I want to generate a list of project parts of all projects where they may take place. This will serve as an input to an optimization program.
So a project of 2-year duration should have 2 parts over any year within the time window. I am including the "impossible" ones for my developer to tag them as "0" when we run it through his code.
View 5 Replies
View Related
Sep 5, 2013
My task is to consolidate 4 Excel Project Lists (Workbooks) to a Master Workbook. The Project Lists has a different structure and almost different content. The relevant information is always on Sheet1 but it has completely different ranges. The only constant is the Project Number, which should be used to sort the information. Every Project should be listed only once with all the existing information.
I found a code written by Ron de Bruin which has already some components that I want to have in my VBA but I think there are still a lot of necessary adjustments to do.
Code:
Sub MergeSelectedWorkbooks()
Dim SummarySheet As Worksheet
Dim FolderPath As String
Dim SelectedFiles() As Variant
Dim NRow As Long
Dim FileName As String
Dim NFile As Long
Dim WorkBk As Workbook
[code]....
The Master Project List should has the headers in Row1 and the information listed below. The Macro should automatically places the correct information to the correct column. Some of the information are in 2 or more of the lists but they should be listed only once in the Master List.
Project Number
Project Description
...
1111E.000000001
[code]....
I guess a problem is that the structures of the Lists are quite different so there must be a kind of sorting process.
In the end I want to have an Excel File with the Macro and a Command Button and by clicking the Macro creates a new Workbook with the Master List.
It would be better if there is a variable range instead of a defined. Like the Macro searches the last row and starts at this row and column.
View 4 Replies
View Related
Jul 29, 2002
I have working on a project "vacation plan" in excel.. i want a small help. i will be entering all the details of the leave for eg. 1)name 2)employee code 3)no. of days eligible for leave 4)starting day & date of the leave 5) end day and date of the leave 6) no. of today days. on sheet1.
on sheet 2. i will have a calender for the entire year. i want this calender to get updated as soon as i put in the date in sheet1 with the names of the agents in the calender & if the leaves overlap, it should change the colour with a conditional formatting. i understand it's complicated. but with the help of u champs, i am dead sure that i will make. it. as i have done it earlier on many complicated projects.
View 9 Replies
View Related
Jul 30, 2013
I am trying to get excel to open a MS Project file and then run a project macro on it.
What is happen is that when I run my code it works, and then excels VBA window freezes up and the run arrow goes away, and if I try to open project I just get a chiming noise and it won't open.
For now I have to select the MS Project file from a directory, but in the future I would like it to go through the folder and open all of the file in the folder
EXCEL CODE
Sub ImportMSProject()
Dim FileToOpen
Dim mpApp As MSProject.Application
Dim prjmacro As Object
'Identify the File to Open - START
FileToOpen = Application.GetOpenFilename("Microsoft Project Files (*.mpp), *.mpp")
If FileToOpen = False Then
Exit Sub
End If
'Identify the File to Open - END
[code].....
View 9 Replies
View Related
Jan 26, 2010
I want to make a booking/reservations report based on excel and I want it the following way; On my excel book I have a "bookingList" and "Planning". on the BookingList are listed all the bookings received. After inserting this data, I want a planning which could display all bookings by apartment.
I want to fill "planning" sheet automatically based on the bookinglist sheet, this to be showned, for exemple, all bookings listed, on "bookingList" Sheet, for apartment C1A, to be showned on "planning" by apartment and for the dates occupied in the same row. i.e., fill "planning" sheet based on all bookings in "BookingList" Sheet.
View 4 Replies
View Related
Apr 27, 2007
I have tried to record macro to protect VBAProject / lock project for viewing. But can not success by that way.
View 9 Replies
View Related
Feb 26, 2014
I am looking forward to creating a macro that would fill in my planning as per a project name (Cell B11)
Then when I enter the start and end date (range C14:D20). The planning (G5:AH9) would be filled in automatically as per the format in the cell in A14:A20.
refer the attach file. I entered manually an example in for the project "example1". I entered the project "example3" in B11 and starting and end dates. After running the macro button, The row 7:7 should look like the row 23:23.
View 4 Replies
View Related
Dec 2, 2013
I would like to make a planning, to show in a report. Is this possible to do with Excel 2010? Or do I need another programm?
View 2 Replies
View Related
Aug 28, 2007
I need to write a couple of functions. Firstly I want to do a count on column B (project $) depending on the criteria on column A (project description). For example a total count of all values in col B if project description is "P" or "A". [I can do sumif functions but this is a countif and I cannot get this right].
View 4 Replies
View Related
Jan 21, 2008
In the past the Manpower Company has put out a yearly spreadsheet allowing an employer to keep track of employee time off. They are not making one this year. Looking at last years sheet, all the calculations are locked. Has anyone seen this sheet in the past and know how it works? You can put in something like v8 in a dated cell and excel subtracts 8 hours from a yearly vacation total. The v in front of the 8 stands for vacation and you can also put in a p for personal time etc..
View 9 Replies
View Related
Aug 5, 2009
i am getting the error run-time error '-2146697211 *800c0005)'': the system cannot locate the resource specified
when running the following:
my guess is because sometimes the internet connection doesnt always work, or the page loads too slow, but 'on error resume next' doesnt work because the line takes awhile to execute and then excel turns off
i believe i saw somewhere here (mrexcel) how to give specific commands a limited time to run. i dont rememeber how to do this though, or any other workaround ...
View 9 Replies
View Related
Feb 7, 2013
I want to write a formula that will sum the hours in a table based on the name of a resource, a task name, and the month it was entered. So my table looks something like this:
Name
Task
Month
Hours
Person 1
Meetings
201201
2
Person 2
Misc
201202
1.5
There are additional columns, and it has over 80,000 rows...
For example, I thought that the formula to sum the hours for Person 1 if the task is meetings and the month is january would be:
SUMPRODUCT((A1:AX="Person 1")*(B1:BX="Meetings)*(C1:CX=201201),D1:DX)
I also tried SUMPRODUCT(--(A1:AX="Person 1"),--(B1:BX="Meetings),--(C1:CX=201201),D1:DX)
View 9 Replies
View Related
Mar 4, 2010
what i am trying to do is use concatenate in a vlookup to search for a resource number and date, then return another column in the array.
the formula looks like:
=VLOOKUP(CONCATENATE(D7,$H$6),Roster_Allocation,7,FALSE)
but only results in NA.
if i search for the resource number only, i get the correct result.
also, the res# and date are concatenated in the table array. could this be related to the way excel is storing the dates (40241?) even though both concatenated fields look the same?
i have also tried adding a new coumn which has the res# and dates concatenated as the lookup value but still all NA.
View 9 Replies
View Related
May 31, 2006
I'm using Excel 2002.
I have one workbook with data linked to another CSV file (It's about 40000rows). When I open the workbook, "THis workbook contains one or more links that cannot be updated." message appears and asks me to open csv file if I wanna to update (although I set full path for links in cells). I wonder if there's any way to update link without opening csv file? Or Excel can not update link without openning the resource file?
View 3 Replies
View Related
Mar 25, 2014
Resouce Capacity Management .xlsx
How do I make my Pivot Table count/Sum the Threshold of each resource within department is within our 80% to 120% threshold?
View 1 Replies
View Related
Sep 17, 2009
I need a macro to get the values from cells D29 and H24 in the Resource Calculator sheet and populate it into cells N8 and O8 in the Input form.
Users will then be able to change the information in the calculator and click the macro again to populate N9 and O9 and so on.
Is there a way to do this?
I've attached the file for you to see.
View 13 Replies
View Related
Apr 19, 2006
I have the following code for a sheet in my workbook that has 3 charts:
Private Sub Worksheet_Change(ByVal Target As Range)
Application.Calculation = xlCalculationManual
ActiveSheet.ChartObjects("RdteObs").Chart.SetSourceData ThisWorkbook.Names("GSumRdteObs").RefersToRange
ActiveSheet.ChartObjects("RdteWip").Chart.SetSourceData ThisWorkbook.Names("GSumRdteWip").RefersToRange
ActiveSheet.ChartObjects("RdteExp").Chart.SetSourceData ThisWorkbook.Names("GSumRdteExp").RefersToRange
Application.Calculation = xlCalculationAutomatic
End Sub
but whenever the sub runs, I get this error message: "Excel cannot complete this task with available resources. Choose less data or close other applications." Does anyone have an idea what's going on?
View 3 Replies
View Related
Jun 30, 2007
I am looking for a forum or where I can find advice on using VBA with MS Project.
View 2 Replies
View Related
Feb 12, 2009
I'm trying to protect my project so that others can't unhide a sheet I have tagged as veryhidden within VB.
I followed these steps:
1. Select project in the projects window
2. choose Tools
3. Project Properties
4. Protection tab
5. checked lock porject for viewing
6. entered passwords twice
7. clicked ok and saved
On another file this has worked perfectly as I wanted it to.
However on another very large file with multiple VB projects it is not "taking" on the project I need it to.
I can open the file, the VB project and change the setting on any sheet I need to without entering a password.
View 14 Replies
View Related
Mar 9, 2009
Add Project to 'database' I recorded my marco.
View 3 Replies
View Related
May 7, 2008
I have a macro in a workbook (WB1) that opens another workbook (WB2). After performing several other macros through user invocation with buttons, I close WB2 with the following statement:
Windows("WB2.xls").Activate
ActiveWorkbook.Close (False)
While the WB2 workbook closes okay, the WB2 project is still open in the VB editor. Does anybody know why this code isn't closing the project in the VBE?
The WB1 process can occur multiple times while Excel is open and each time a separate occurrence of the WB2 project is left open in VBE.
View 9 Replies
View Related
Nov 28, 2007
how to start and name a new project in Excel VBA. Will someone explain how to?
View 3 Replies
View Related
Apr 11, 2014
Shee1 , sheet2 raw data from system extract.
I need the supplies of each code to fall into boxes sup1 sup2 and so.
While I also need when they were supplied created below the qty supplies table.
View 14 Replies
View Related
Mar 30, 2009
I'm not close to done yet, but when it's complete I want to distribute the project to people that might not have Excel 2003 or 2007. So, can I package an Excel file with UserForms into a stand-alone tool?
View 2 Replies
View Related
Oct 5, 2009
Is there a place on the net where I can work on, or take part of real Excel
project ( for training purpose ). If not, do you think that is possible to make such a place were people can learn and practice excel working on simulation of a real Excel projects??????
View 4 Replies
View Related
Jan 26, 2010
I have created a spreadsheet in Excel where it gives me a report of how many hours my employees do per week and it seperate them in different categories.
What I would like to do is find a way to match the cell's description with the amount of total hours that were spend on certain project.
So here is the scenario.
In my department there 6 employees that are assigned to work on certain projects in daily basis. These projects are called CRs and to identify them I've added a number after them.
So we will have CR0001, CR0002, ect. These are unique projects.More that one employee that could woork at the same project as well on other sections but I am only interested on the projects.
To help you understand what I am trying to do I will give you an example.
John is working on project CR0005, CR0006, CR0001. He has been working on them three projects for the last week.
Here is the summary of the hours:
- 5 hours on CR0005
- 10 hours on CR0006
- 5 hours on CR0001
This information is inputed in Excel spreadsheet Week 1 .....
View 12 Replies
View Related
Sep 5, 2013
I have attached a sheet with a sample of how my spreadsheet will look. This might involve a number of steps. I have actuals, forecast, and prior year information (for rolling months) for a number of line items. To the right, I calculate a variance (in total and %). What I want to do is create a list to the right (not sure how to format it) that populates the 10 items from the left with the most variance (units, not %). I would like it to populate the line item from the right as well as the number of units for the variance (columns F and H). Lastly, and I'm not sure if this possible, I might want to just select the items that are greyed out. That is, I would want the line items with the most variance but just from the greyed out lines. If this is not possible without a macro, I don't want to do it.
View 2 Replies
View Related
Oct 22, 2008
I've done the following steps so far:
Tools
VBAFormatProperties
Checked the "Lock Project from Viewing"
Applied a password
and clicked Ok
View 3 Replies
View Related