Hello, fellow Microsoft Project users! In this blog post article, I’ll guide you through the process of crafting a custom Duration Variance view in Microsoft Project. Understanding Duration Variance is crucial during the Execution stage of your projects.
So, imagine a task whose Duration was scheduled to take 5 days, but that task ended up taking 8 days. That creates 3 days of Duration Variance, meaning that the task took 3 days longer than planned to complete. So, let’s dig into creating your custom view to effortlessly track and analyze Duration Variance.
Companion Articles in This Variance Series (Recommended Order): This tutorial is part of my four-part series on tracking schedule and cost variance in Microsoft Project. You can jump straight into the steps below, or follow these companion articles in order if you are setting up your variance views from scratch:
- Article 1 (Save Your Baseline First): Why Should You Save a Baseline in Microsoft Project? explains how to capture the 20 baseline snapshot fields that power every variance calculation.
- Article 2 (Understand Standard Variance Fields): Understanding Finish Variance and Other Variance Fields in Microsoft Project covers how
Start Variance,Finish Variance,Duration Variance,Work Variance, andCost Variancework in the built-in Variance table. - Article 3 (You Are Here – Build the Custom
_DurationView): Creating a Custom Duration Variance View in Microsoft Project walks you through creating the custom_Durationtable andDuration Varianceview to inspect Duration, Baseline Duration, and Duration Variance side by side. - Article 4 (Calculate Percent Variance Formulas): How to Calculate Percent Variance in Microsoft Project (Duration, Cost & Work Formulas) shows how to add custom Number fields (
% Dur Var,% Cost Var, and% Work Var) with error-proofIIfformulas and stoplight Graphical Indicators.
At a Glance: Creating a Custom Duration Variance View in Microsoft Project:
- Why You Need a Custom View: Microsoft Project’s built-in Variance table only displays
Start VarianceandFinish Variance, leaving outDuration,Baseline Duration, andDuration Variance. - Step 1 (Create the
_DurationTable): Copy the built-in Variance table via View -> Tables -> More Tables, name it_Duration, and replace the Start/Finish Variance columns withDuration,Baseline Duration, andDuration Variance. - Step 2 (Create the Custom View): Copy the Detail Gantt view via View -> Other Views -> More Views, name it
Duration Variance, and link it to your new_Durationtable. - Step 3 (Copy to Global.mpt): Use File -> Info -> Organizer to copy both your custom
Duration Varianceview and_Durationtable intoGlobal.mptso they are available in every future project.
Duration Variance: Understanding View Elements
Before diving into creating the custom view, let’s discuss the elements that comprise a View in Microsoft Project. Every View consists of the following elements:
- Screen: The Screen displays the information shown on the right side of the View.
- Table: The Table contains the columns of data shown on the left side of the View.
- Group: The Group organizes rows into groups with similar attributes or characteristics.
- Filter: The Filter displays or highlights specific rows that meet your filtering criteria.
Steps to Create Custom View
Following is the 4-step process that I personally recommend you use for creating your own custom Views in Microsoft Project:
- Create a custom Table with the columns you want to display in the custom View.
- Optionally create a custom Filter to display or highlight the rows shown in your custom View.
- Optionally create a custom Group to organize the rows in your custom View into groups.
- Create your new custom View with the Screen you want, your custom Table, your custom Filter (if needed), and your custom Group (if needed).
For the custom Duration Variance view, I want this View to use a Tracking Gantt screen, a custom Table with Duration-related columns, and a custom Filter to display or highlight tasks with a Duration Variance value greater than 0 days. Here is how to create this custom View:
Creating a Custom Table
Complete the following steps to create the custom Table:
- Right-click on the “Select All” button and then select the “More Tables” item on the menu.
- In the More Tables dialog, select the “Work” table and then click the “Copy…” button. By the way, the easiest way to create a new Table is to copy an existing Table and then to modify the copy.
- Enter a name for the new table, such as “_Duration”. I like to use the underscore character for the name of custom objects to signify that they are custom objects.
- Replace every Work-related field with its corresponding Duration-related field. For example, replace the Work field with the Duration field, the Baseline Work field with Baseline Duration, etc.
- Remove column labels by selecting each “Title” value (other than Task Name) and pressing the “Backspace” so you don’t accidentally delete the row.
- Click the “OK” button to create the new custom Table.
- Test the new Table by selecting it and clicking “Apply.”
- Edit the custom Table, as needed, until it looks the way you want it to look.
Creating a Custom Filter
Complete the following steps to create the custom Filter:
- Click the “View” tab to display the View ribbon.
- Click the “Filter” pick list and select the “More Filters” item.
- In the More Filters dialog, click the “New…” button to start creating the filter.
- Enter a name for the new filter, such as ” _Duration Variance > 0 Days”.
- Set the filter criteria to display tasks where Duration Variance is greater than 0 days.
- Click the “Save” button to create the new custom Filter.
- Test the new filter by selecting and applying it to view tasks with longer-than-planned durations.
Creating the New View
Complete the following steps to create the new custom View:
- At the left end of your Task ribbon, click the “Gantt Chart” pick list button and select the “More Views” item on the menu.
- In the More Views dialog, select the “Tracking Gantt” view and then click the “Copy…” button.
- Enter a name for the new custom View, such as “_Duration Variance”.
- In the View Definition dialog, click the “Table” pick list and select your custom Table.
- Leave the “Group” setting to the “No Group” value.
- Click the “Filter” pick list and select your custom Filter.
- Select the “Highlight filter” checkbox option.
- Click the “OK” button to create the custom View.
- Apply the new custom View and notice the tasks that are highlighted in yellow are the tasks with Duration Variance greater than 0 days.
Next Step: Add a Percent Duration Variance Column to Your View
Now that you have built your custom _Duration table and Duration Variance view, you can take your schedule analysis one step further by adding a custom % Dur Var column with color-coded stoplight Graphical Indicators! Follow these related guides to complete your variance toolkit:
- How to Calculate Percent Variance in Microsoft Project (Duration, Cost & Work Formulas): In this direct sequel tutorial, I show you how to add a
% Dur Varcustom Number field, an error-proofIIfformula, and stoplight Graphical Indicators directly to the_Durationtable you just created above. - Understanding Finish Variance and Other Variance Fields in Microsoft Project: Learn how Start Variance, Finish Variance, Duration Variance, Work Variance, and Cost Variance work together and what positive vs. negative variance numbers mean.
- Why Should You Save a Baseline in Microsoft Project?: Review the 20 baseline fields that power every variance calculation in Microsoft Project.
Wrapping Up
Congratulations! You’ve mastered the art of crafting a custom Duration Variance view in Microsoft Project.
If you have questions, please add them in the “Leave a Reply” section below. Or if you watched the video, add your questions or comments there. Please subscribe to my YouTube channel and leave “Likes” if you like the videos.
If you would like to have a formal class on using Microsoft Project, here is a link for my classes.





Leave a Reply