Creating Graphical Indicators Based on Formulas with MS Project
This topic is one of the more common requests I hear in regards to MS Project schedules needing dashboards or key metrics for reporting. In many cases, executives or senior stakeholders roll their eyes at the sea of text that comes with scheduling tools or the massive amounts of information presented in a Gantt chart.
What we want to do is to help anyone using a schedule to quickly find and present the issues through stop light reporting or some kind of graphical indicator.
In this article, I am going to leverage MS Project 2013 for my screenshots and steps, but you can do this with any version of Project from 2003 or higher.
Creating Graphical Indicators Based on Formulas
To create a graphical indicator based on a formula we’ll use the following scenario:
We have a Project Baseline for a sample project that we are tracking the progress of. If the Actual Task Costs are aligned with the Baseline Costs then we want to see a Green Light in the Gantt Chart View (Entry Table).
- If the Actual Task Costs are exceeding the Baseline Costs up to $1,000, then we want to see a Yellow Light in the Gantt Chart View (Entry Table).
- If the Actual Task Costs are exceeding the Baseline Costs by more than $1,000 then we want to see a Red Light in the Gantt Chart View (Entry Table)
And the Resources:
One of the key areas of mapping variances in a schedule is to set a baseline to track our planned activities and have a reference point to where your actuals are as you progress your schedule through its lifecycle.
Now on to saving a Baseline:
First select your project tab and then choose the set baseline from the ribbon.
The following “Set Baseline” dialogue box opens
Now let’s apply a cost table from the VIEW tab so we can see the new baseline values.
When we apply the Cost Table we get:
From here we want to create a custom graphical indicator for showing when costs change (this can be applied to work or even the schedule slippage by following similar steps).
Let’s select the PROJECT tab and then select the CUSTOM FIELDS option from the ribbon.
Now, create Custom Field for Graphical indicator:
In the graphic below, we rename the field to make it easier to find and reference in future views, filters and formulas.
After you click OK above you will see the Custom Fields dialogue box. Click on the Formula button and you will see a notice box open. Click OK. (this is just warning you that you will lose any data that may have been typed into that field before).
Now click the Formula button again, then Click the Field list pick; click Cost and then Actual Cost
Now select the minus (-) sign, then click the Field list pick again; click Cost and then Baseline Cost, then Baseline Cost as shown below:
The result should look like this. Click OK
An alert message will populate, click OK:
Now for the fun part, let’s create a graphical indicator to showcase the variances (both positive and negative).
Setup the Graphical Indicator:
We need to make sure that we address the indicator at the Task or Row level, so select Non-summary Rows. Later, if you want your summary tasks to also have graphical indicators, you can choose the summary rows as well.
Here you will put in the conditions that will give you the range of values for the indicators to change.
From the drop down list choose the Green Light:
Finish the remaining two rows, then select OK, then select OK again:
Now we will put the Custom Field in the Entry table for easy reference and updating.
Right click on the ALL button to open up the Table View. Select More Tables…
Make the following selections as noted:
For the new item, also set the Header Wrapping to “Yes” and the Text Wrapping to “No” then click OK, then Apply.
Now look at the Gantt Chart View and you will see your updates.
Since we did not enter any “Actuals” all tasks show a Green status.
Now set Task 1 as 100% Complete: Highlight the Row and selct the 100% icon on the Task Ribbon.
Since everything went fine with Task 1 the Graphical Indicator remains Green!
Now input 18 hours for Task 2. We can do this many ways, but here is a great way to do actuals editing from the TASK ribbon. Click on the Mark on Track option and select Update Tasks.
Enter the increased hours.
The following is displayed
Task 2 has a Baseline Cost: 2 days * 8 hours per day * $200 per hour = $3,200.
Actual cost = 18 hours * $200 per hour = $3,600.
Since Actual Cost – Baseline cost = $3,600 – $ 3,200 = $400, and it is less or equal to $1,000, the Yellow indicator appears!
For Task 3, update the task for a duration of 5 days:
Task 3 has a
Baseline Cost: 3 days * 8 hours per day * $300 per hour = $7,200.
Actual cost = 5 days * 8 hours per day * $300 per hour = $12,600.
Since Actual Cost – Baseline cost = $12,000 – $ 7,200 = $4,800, and it is greater then $1,000, the Red indicator appears!
You can see costs (Baseline, Actual, and Variance) in Cost Table:
Hopefully this gets you on your way to creating strong visuals to help with managing your schedules and communicating effectively to your stakeholders. As always, we are here to help! Comment below with questions, give us a call at: 866.362.3847 or visit us at www.advisicon.com.