Forum Discussion
KenPb
Nov 04, 2022Copper Contributor
MS Project Professional Master File Duration less than duration of highest Subproject
Hi, Hoping someone can help with this one. Created a Master Project file to track multiple projects and when I insert the first Subproject ("Finance Department Audit Process"), the Master Pro...
- Nov 09, 2022KenPb,
Yeah that gave me just enough info. Indeed if subproject ABC has exceptions which allow Sunday to be working time then you will see an apparent discrepancy in the Duration field. The master file has the Standard calendar so it is measuring duration time per that calendar which means it will not count Sundays.
It's not clear what you are trying to achieve. You can create a custom Text field with the following formula and it will display the same duration as subproject ABC but only for the case where subproject ABC is the dominant subproject (i.e. starts earlier and finishes later than any other subproject). Why? Because the formula simply measures calendar time instead of working time.
Text1=DateDiff("d",[Start],[Finish]) & " days".
If another subproject has an earlier start or a later finish, then the formula will give an invalid duration. So again, I'm not sure what you are trying to achieve.
Is there a way to create a custom duration at master level that will respond to the intent regardless of whether the subproject with the exceptions is dominant or not? Yes, but it would require VBA.
John
John-project
Nov 09, 2022Silver Contributor
KenPb,
Yeah that gave me just enough info. Indeed if subproject ABC has exceptions which allow Sunday to be working time then you will see an apparent discrepancy in the Duration field. The master file has the Standard calendar so it is measuring duration time per that calendar which means it will not count Sundays.
It's not clear what you are trying to achieve. You can create a custom Text field with the following formula and it will display the same duration as subproject ABC but only for the case where subproject ABC is the dominant subproject (i.e. starts earlier and finishes later than any other subproject). Why? Because the formula simply measures calendar time instead of working time.
Text1=DateDiff("d",[Start],[Finish]) & " days".
If another subproject has an earlier start or a later finish, then the formula will give an invalid duration. So again, I'm not sure what you are trying to achieve.
Is there a way to create a custom duration at master level that will respond to the intent regardless of whether the subproject with the exceptions is dominant or not? Yes, but it would require VBA.
John
Yeah that gave me just enough info. Indeed if subproject ABC has exceptions which allow Sunday to be working time then you will see an apparent discrepancy in the Duration field. The master file has the Standard calendar so it is measuring duration time per that calendar which means it will not count Sundays.
It's not clear what you are trying to achieve. You can create a custom Text field with the following formula and it will display the same duration as subproject ABC but only for the case where subproject ABC is the dominant subproject (i.e. starts earlier and finishes later than any other subproject). Why? Because the formula simply measures calendar time instead of working time.
Text1=DateDiff("d",[Start],[Finish]) & " days".
If another subproject has an earlier start or a later finish, then the formula will give an invalid duration. So again, I'm not sure what you are trying to achieve.
Is there a way to create a custom duration at master level that will respond to the intent regardless of whether the subproject with the exceptions is dominant or not? Yes, but it would require VBA.
John
KenPb
Nov 09, 2022Copper Contributor
John-project Thank you so much for all the help. With the Master Project file summary line, I was hoping to show the Total number of days based on the dominant subproject (longest duration + exceptions) across all subprojects. Since I am not VBA savvy, I think I can manage it "manually" with your suggested custom text field. Once again, thanks for all your help in furthering my understand.
Best regards, Ken
- John-projectNov 09, 2022Silver ContributorKenPb,
You're welcome and thanks for the feedback. If I answered your question, please consider marking one of my responses as the answer.
John