Primavera P6 export to Excel. How to color WBS level automatically

When exporting the Activity Table from Primavera P6 to Excel, it can be difficult to visually distinguish between different WBS (Work Breakdown Structure) levels. 

Primavera P6 export to Excel. How to identify WBS level for activity-1

In this guide, I’ll show you how to automatically color-code WBS levels in Excel, making your report easier to read—similar to how it appears in P6.

Step 1: Add the WBS Level Column

First, follow this article to insert the “WBS Level” column into your Excel sheet: 

https://doduykhuong.com/2018/04/01/primavera-p6-export-to-excel-how-to-identify-wbs-level-for-activity/

Primavera P6 export to Excel. How to identify WBS level for activity-3

Step 2: Apply Conditional Formatting

Now let’s apply color formatting based on WBS levels:

1. Go to Home > Conditional Formatting > Manage Rules.

Primavera P6 export to Excel. How to color WBS level automatically-1

2. Click New Rule, then select “Use a formula to determine which cells to format.”

3. In the formula box enter : =IF($A2=0,TRUE)

4. Choose a color for WBS Level 0 (e.g., green), then click OK.

Primavera P6 export to Excel. How to color WBS level automatically-2

5. In the Applies to box, click the arrow icon and select the range of cells you want to format (ideally, the entire activity table).

Primavera P6 export to Excel. How to color WBS level automatically-3

 

Primavera P6 export to Excel. How to color WBS level automatically-4

6. Click OK again to apply the rule.

Now every WBS Level 0 will have green color.

Primavera P6 export to Excel. How to color WBS level automatically-5 (1)

Step 3: Repeat for Other WBS Levels

Repeat the process above for other WBS levels (1, 2, 3, etc.). Assign a different color to each level to make the hierarchy visually clear.

Primavera P6 export to Excel. How to color WBS level automatically-6

Final Result

Once all rules are applied, your Excel report will be color-coded by WBS level—making it much easier to read and analyze, just like in Primavera P6.

Primavera P6 export to Excel. How to color WBS level automatically-7

3 thoughts on “Primavera P6 export to Excel. How to color WBS level automatically

Add yours

Leave a reply to Khuong Do Cancel reply

Create a website or blog at WordPress.com

Up ↑