Website Upgrade Incoming - we're working on a new look (and speed!) standby while we finalise the project

2 Ways to Show Ordinal Dates instead of Calendar Dates in Primavera P6 Schedule

In this tutorial, I will show you 2 methods of displaying ordinal dates in a Primavera P6 schedule, the first method uses Microsoft Excel and the second uses Global Change facility in P6. Ordinal dates schedules are usually required when a project does not have a defined calendar start date.

This is the Primavera P6 version of the Microsoft Project tutorial about showing ordinal dates in the Gantt chart timescale & calendar days in the Start & Finish columns.

Common Steps

An important setting for this tutorial is the P6 calendar to use. My preference is to use an 8-hour day, 7-day week calendar for all activities. And the 8 hours should be spread over a 9-hour period, i.e. 08:00 to 17:00 with an hour's break between 12:00 to 13:00 as shown below.

c1d43-p6_ordinal_01.png

Another important setting is enable 24 hour (13:30) time in the Dates tab of  User Preference and then ensure that in the Dates tab of Details form in Projects Layout, the Project Planned Start & Data Date have 08:00 as the time part of their dates (should be same dates). Once this is confirmed, you can go back to  User Preference and select the Do not show time radio button.

f057d-p6_ordinal_02.png

For both methods, we would need to set-up the ordinal dates timescale. To do that, right-click anywhere on Gantt chart timescale and select Timescale in the pop-up menu

790ce-p6_ordinal_03.png

In the Timescale dialog box, select the Show Ordinal Dates radio button and for Ordinal Start, select PS - Earliest Project Start and for Ordinal Date Interval, select Month (or your preferred interval) and then click OK.

1f1f9-p6_ordinal_04.png

The Gantt chart timescale should now display Month 1, 2, 3 etc

4f562-p6_ordinal_05.png

Save your layout at this point.

Method 1 - Using Excel   

Create 2 User Defined Fields (UDFs) of type Integer and name them Start Day & Finish Day.

12111-p6_ordinal_06.png

Now add the 2 newly created UDFs to the layout and then save the layout.

4d21b-p6_ordinal_07.png

We now need to export to Excel (Spreadsheet) and the Export Type is Activities. Fields to add to a new Export Template are Activity ID, Activity Name, Start, Finish, Start Day & Finish Day, as shown in image below. Having a bespoke template means you can always reuse it in future.

d3a2b-p6_ordinal_08.png

Now open the newly exported Excel file and it should look like the screenshot below. I have highlighted the project start milestone (MN-1000 - Effective Date in this example) for emphasis.

71d0c-p6_ordinal_09.png

Enter the following formula in cell G3,

=E3 - $E$3 + 1

where:

  • $E$3 is the cell with the project start milestone (your project start milestone might be in a different cell)

  • "+1" is so that our calendar day starts at Day 1 instead of Day 0

d457f-p6_ordinal_10.png

Now Fill Down the formula so that you spreadsheet looks like the image below. Ignore the #VALUE! errors that appear against Finish Milestones for now.

0a84d-p6_ordinal_11.png

Now enter the following formula in cell H3 and then Fill Down and once again ignore the #VALUE! error that appears against Start Milestones.

= (F3 - $E$3 + 1) - 9/24

where 

  • 9/24 is subtracted so that we do not have decimal places in our calculations.

  • The 9 is from the 9-hour period of our calendar, i.e. from 08:00 to 17:00

  • The 24 is from 24 hours that makes a day in Excel

e4217-p6_ordinal_12.png

The #VALUE! errors occur because in Primavera P6, Start Milestones do not have finish dates and similarly, Finish Milestones do not have start dates. But for our Calendar Days, we want milestones to have Start Day & Finish Day numbers. Therefore in each cell with #VALUE! in it, make it equal to the adjacent cell, so if #VALUE! is in column G, make it equal to the value of adjacent cell in column H and similarly, if #VALUE! is in column H, make it equal to the value of adjacent column G cell.  Your spreadsheet should now look like the image below.

30533-p6_ordinal_13.png

Our data is now ready for import into P6 but if we perform the import, P6 will throw up an error because the Start Day & Finish Day columns contain formulas. So  we need to get rid of the formulas prior to importing and to do this we need to select all the Start Day Finish Day data (in this example that will be cell range G3:H25), copy and then paste them back as Values.

Save & close the Excel spreadsheet and go to P6 and import the file. You will get a prompt that your import was successful and once you close that prompt, the Start Day Finish Day columns in P6 will be populated as shown below.

57b8e-p6_ordinal_14.png

To finalise our schedule, we need to hide the Start & Finish dates columns, save our layout and that is our schedule ready for issue/submission as shown below.

8fabf-p6_ordinal_15.png

Method 2 - Using Global Change 

This method assumes you are familiar and comfortable with using Global Change. 

Create 3 User Defined Fields (UDFs), 2 of type Integer and name them Start Day & Finish Day and the third UDF is of type Start Date and name it Project Start Date. (This Project Start Date UDF is required since there is no way to access the Project Planned Start field under Activities subject in Global Change)

645c7-p6_ordinal_16.png

Next we add the newly created Start Day & Finish Day fields to the layout and save it. 

f1113-p6_ordinal_17.png

Now we need to create 2 Global Change rules to populate our new Start Day & Finish Day fields but before we do that, enable the time part of dates (see Common Steps above) so that our dates look like 06-Jul-20 08:00.

Create the first Global Change for the Start Day field to look like the screenshot below.

aae58-p6_ordinal_18.png

The formulas in the 3 sections are:

If section

  • This formula checks if the activity type is not a Finish Milestone (remember that in P6, Finish Milestones have no start dates, so we need to treat them differently)

  • and if the activity type is not a Finish Milestone, the formula in the Then section is calculated

  • but if the activity type is a Finish Milestone, the formula in the Else section is calculated

Then section

  • We need to assign the Project Planned Start date to the the Project Start Date UDF and in this case it is 06-Jul-20 08:00. It is very important that the correct start time of the date is selected to avoid having decimals in our calculations.

  • With the Project Start Date now defined, we can calculate Start Day using the formula below which is spread over 2 lines in Global Change due to the limitations on number of parameters per line in Global Change

Start Day = Start - Project Start Date + 1

  • "+1" is so that our calendar day starts at Day 1 instead of Day 0

Else section

  • We need to assign the Project Planned Start date to the the Project Start Date UDF and in this case it is 06-Jul-20 08:00. It is very important that the correct start time of the date is selected to avoid having decimals in our calculations.

  • For Finish Milestones, we get the Start Day value by using the formula below

Start Day = Finish - Project Start Date

Now run this Global Change and the Start Day field will be populated as shown in the image below.

ab6dc-p6_ordinal_19.png

Now, create the second Global Change for the Finish Day field to look like the screenshot below.

70cb3-p6_ordinal_20.png

The formulas in the 3 sections are:

If section

  • This formula checks if the activity type is not a Start Milestone

  • and if the activity type is not a Start Milestone, the formula in the Then section is calculated

  • but if the activity type is a Start Milestone, the formula in the Else section is calculated

Then section

  • Just like in the first Global Change, we need to assign the Project Planned Start date to the the Project Start Date UDF and in this case it is 06-Jul-20 08:00 (this step shouldn't be necessary since the first Global Change should have populated this field but I have included it here just in case this Global Change is applied before the previous one)

  • With the Project Start Date now defined, we can calculate Finish Day using the formula below

Finish Day = Finish - Project Start Date

Else section

  • Again, we need to assign the Project Planned Start date to the the Project Start Date UDF and in this case it is 06-Jul-20 08:00. (this step shouldn't be necessary since the first Global Change should have populated this field but I have included it here just in case this Global Change is applied before the previous one)

  • For Start Milestones, we get the Finish Day value by using the formula below, which is spread over 2 lines

Finish Day = Start - Project Start Date + 1

  • "+1" is so that our calendar day ends at Day 1 instead of Day 0 etc.

Now run this Global Change and the Finish Day field will be populated as shown in the image below.

2ca8d-p6_ordinal_21.png

Finally, we need to hide the Start & Finish dates columns, save our layout and our schedule should be ready for issue/submission as shown below.

93b69-p6_ordinal_22.png

Both Global Change rules are now available for use with future projects, but remember to set the Project Start Date for new projects.

Final Words

You will notice that WBS level details are not shown in either method and this is because for Integer type UDFs, P6 sums the values of the activities, when what we want at WBS level is minimum value for Start Day and maximum value for Finish Day. Due to this reason, my preference is to use Microsoft Project to produce an Ordinal Dates schedule using the method outlined in the Microsoft Project version of this tutorial.

This post was originally published on Planners' Place blog

Comments

We did a similar thing with

We did a similar thing with Ordinal Dates on a Project 25yrs ago. Only difference was the Client PM, wanted to see the Early & Late Ordinal Start/Finish dates on the Task Bar, so we had to have 4 UDF's, we had to run a global change every time we did a print out, and the Task bar had Early Ordinal on bottom Left, Late Ordinal Start Upper Left and the same on the right for Finish Ordinals. It was an old school Manager, who wanted them the way the planners used to hand calculate them years before on butchers paper. The schedule was 65 pages and had to be printed on A2 printer so it took like 8hrs to manually feed it all in. What a pain that assignment was!

Market Place

No results found... (try selecting a different content filter)