The actual line on last month's S-curve ran flat from the data date to the end of the programme, a long shelf at 31%, and the client's first question was whether the job had stopped. It hadn't. The cumulative formula was adding zero for every future month, and the chart drew every one of them. That's the easiest way for an S curve in Excel to lie, and it's a formula problem, not a progress problem.

The short version: spread each activity's baseline hours across its working days with NETWORKDAYS.INTL, total each period, and run that total cumulatively against the baseline budget. That's the planned line. The earned line is baseline hours times percent complete, recorded at every cut-off, and it stops at the data date. In Excel, stopping means empty cells or #N/A after the data date. Never a zero, and never a formula that returns an empty string.

What an S curve in Excel needs from P6

Three things per activity: a baseline start and finish, a budget to weight it by, and a percent complete at the data date. From a P6 layout that's BL Project Start, BL Project Finish, BL Project Labor Units and Activity % Complete. From XER files, the dates are target_start_date and target_end_date in the baseline's TASK table, the hours are target_qty on its labour rows in TASKRSRC, and the percent complete and data date (last_recalc_date on PROJECT) come from the update.

The budget column decides what the curve measures. Weight by duration and every activity counts by how long it is: a 300 day supervision LOE counts fifteen times as much as a 20 day pour sequence, whatever hours either one carries. Weight by cost and the curve can jump in the month the activity holding the steel package starts. Weight by hours and it follows the labour, which is what most people mean when they say progress.

I curve on hours, and the measure goes in the chart title.

For percent complete, know each activity's type. A Duration type activity reports time gone by, not work in place. I went through that trap in this earned value example worked in hours.

The planned line: one formula, copied across

Activities go down the left from row 4: Activity ID in A, name in B, baseline start in C, baseline finish in D, budget hours in E, percent complete in F. Periods run across from column G, with each period's first day in row 2 and its last day in row 3. The data date goes in B1, named DataDate, so every formula reads one cell.

1. End each period on your cut-off

If you report to the 25th, the periods end on the 25th. G2 is the first baseline start and G3 the first cut-off. Then H2 is =G3+1, and H3 is =EDATE(G3,1) for monthly periods or =G3+7 for weekly ones. Copy both right. For a month end cut-off use =EOMONTH(G3,1) instead, because EDATE from 31 January lands on 28 February and every month after that ends on the 28th.

2. Spread each activity over its working days

In G4: =IFERROR($E4*MAX(0,NETWORKDAYS.INTL(MAX($C4,G$2),MIN($D4,G$3),1,Holidays))/NETWORKDAYS.INTL($C4,$D4,1,Holidays),0). The period gets the activity's hours in proportion to the working days it has inside the period. The 1 means Saturday and Sunday off; use 7 for Friday and Saturday, or 11 for Sunday only. Holidays is a named list of dates. MAX(0, ...) is there because NETWORKDAYS.INTL goes negative when the activity sits outside the period, and IFERROR catches a milestone on a non-working day. Copy it across and down.

3. Add three rows under the last activity

Say the activities end at row 300. Row 301 is the period total, =SUM(G4:G300). Row 302 is the cumulative, =SUM($G301:G301). Row 303 is Planned %, =G302/SUM($E$4:$E$300). Once the periods pass the last baseline finish, the cumulative should equal the total budget to the hour.

4. Chart it as a combo

Period totals as columns on the primary axis, Planned % and the Actual % row from the next section as lines on the secondary axis, and the period end dates in row 3 as the categories. Fix the secondary axis at 0 to 100%, so next month's chart has the same scale as this one.

Why the cut-off matters: take one activity of 400 hours, Monday 1 March to Friday 26 March 2027, Saturday and Sunday off: 20 working days. With calendar months, March gets all 400. With a cut-off on the 25th, the period to 25 March gets 380 and the next one gets 20.

Now report progress at 25 March against a March column that runs to the 31st. You're comparing your actual with four working days of planned work the site hasn't had yet. The SPI comes out worse than the truth, and it does it every month.

Tip: If you copied the dates out of a P6 layout instead of exporting them, look for the " A" P6 puts after actual dates. It turns the cell into text, NETWORKDAYS.INTL returns #VALUE!, and IFERROR quietly writes a zero. The budget check in step 3 is what catches it.

The earned line stops at the data date

Earned % at the data date is one formula: =SUMPRODUCT($E$4:$E$300,$F$4:$F$300)/SUM($E$4:$E$300). Baseline hours times percent complete, over the same total the planned line uses. Divide by the current budget instead and the two lines no longer measure against the same thing.

Each month, copy that cell and paste it as a value into the current period's column of an Actual % row, row 304. Leave every later period empty. A truly empty cell is drawn as a gap, so the line ends at the data date on its own.

My view, and plenty of planners will disagree: the actual line should be typed, not calculated. A line rebuilt from this month's XER rewrites history whenever someone corrects an old percent complete, and the curve the client saw in March quietly changes shape in April. If a past figure was wrong, fix it in the row, on purpose, with a note.

If you do keep the row as a formula, this is where the opening went wrong. A running total that adds each period's earned to the one before carries the last value to the end of the chart. That's the flat shelf. =IF(G$3>DataDate,"",...) is worse. Excel treats the empty string as text, plots it as zero, and the line drops to the floor. Return NA() instead. A line chart draws no point for #N/A, so the line ends at the last real value.

Building it for the first time halfway through a job? You have one measured point. Spreading each activity's earned hours over its baseline working days up to the data date is a fair reconstruction of the months before it. Label it as one.

Four checks before the chart goes in a report

  • The planned line matches last month's. Paste last month's Planned % row under this one. Any period that moved means the baseline or a budget changed, and someone should be able to name the activity. Comparing two XER files in Excel will find it.
  • The actual line ends in the data date's period.
  • The title names the measure and the cut-off, something like "Progress, labour hours, cut-off 25 March 2027".
  • You know how much of the budget sits on level of effort activities. They earn with the calendar, so a big share pulls the actual line toward the planned one whatever the real work is doing. More on how a level of effort activity gets its dates in P6.

If rebuilding the spread every month is the part you'd skip, Plexxel's Performance Curve does it from a baseline and an update XER, on duration, hours or cost, monthly or weekly. Its Actual % row is written only up to the data date and stays editable, so the figures you've already reported can go back in. It's in Pro.

After the first month, the update is small: a new date in B1, one pasted value in row 304, and a minute on the four checks. The formulas don't care which month it is. And a curve that stops where the work stopped is the one nobody in the meeting asks about.