Core walls, L1 to L4, started on 1 March and finish on 30 April. The data date is Monday 15 March, the crew is on the wall today, and the three week lookahead doesn't list the activity at all. That's what you get when a lookahead schedule template in Excel filters on "Start is inside the window", and it's the first thing I'd check in any of these sheets.

The fix is one test. An activity belongs in the lookahead when it starts before the window ends and finishes on or after the day the window starts. Both conditions, on every row. That keeps work already under way, work that spans the whole window, and work about to begin.

Why the obvious filter loses live work

Take a window of 15 March to 4 April 2027, and four activities:

  • Raft rebar, Zone 2, 8 to 19 March. Started before the window and ends inside it.
  • Core walls, L1 to L4, 1 March to 30 April. Runs straight through.
  • Slab pour, Zone 2, 17 to 24 March. Entirely inside.
  • Blockwork, L1, 6 to 16 April. Too late for this one.

Filter on Start between the two dates and you get the slab pour. Only the slab pour. The two activities with people on them right now have gone, and the sheet gives no sign of it, because a short list just reads like a quiet three weeks.

The usual repair is "start in the window OR finish in the window". That brings the raft rebar back. The core walls are still missing, because neither of their dates falls inside the window. Those long activities are often the ones carrying the biggest crew, and they're the ones this filter can't see.

So stop asking where the dates are. Ask whether the bar touches the window. Two bars overlap unless one ends before the other begins, which leaves a single line:

Start < day after the window AND Finish >= window start

Run that on the four rows and raft rebar, core walls and slab pour stay. Blockwork waits its turn.

Build the lookahead schedule template in two sheets

Keep the P6 data and the report apart, so next week's update is a paste and nothing else. Put Activity ID, Activity Name, Activity Status, Activity Type, Start and Finish into columns A to F of a sheet called Export, headers in row 1. The report lives on a sheet called Lookahead.

1. Four cells set the window

On Lookahead, B1 is the data date and B2 the number of weeks. B3 is the window start, =INT(B1), which strips the 08:00 a P6 data date usually carries. B4 is the day after the window, =B3+7*B2. With 15 March and 3 weeks, B4 reads 5 April.

2. Clean both dates

On Export, G2 is =--TRIM(SUBSTITUTE(SUBSTITUTE(IF(E2="",F2,E2)," A",""),"*","")) and H2 is =--TRIM(SUBSTITUTE(SUBSTITUTE(IF(F2="",E2,F2)," A",""),"*","")). They remove the " A" P6 puts after actual dates and the asterisk it puts on constrained ones, then turn the text into a real date. Keep the space in " A". It's what stops the formula touching the A in Apr and Aug.

3. Mark what belongs

I2 is =AND(G2<Lookahead!$B$4,H2>=Lookahead!$B$3,OR(C2="Not Started",C2="In Progress"),D2<>"Level of Effort",D2<>"WBS Summary"). Copy G to I down to the last row. The status test removes finished work and the blank WBS band rows a copy from P6 brings along. The type test removes bars no crew is actually building, since a level of effort activity takes its dates from other work and would otherwise sit on every lookahead for the life of the job.

4. Let the list build itself

In A7 on Lookahead: =SORT(FILTER(FILTER(Export!A2:H2000,Export!I2:I2000),{1,1,1,0,0,0,1,1}),4). The inner FILTER keeps the rows marked TRUE. The outer one keeps five columns: ID, name, status, clean start, clean finish. The 4 sorts by start. Format columns D and E as dates. This needs Excel 2021 or 365. On anything older, AutoFilter column I on TRUE and press Ctrl+Alt+L after each paste.

Three more ways a row goes missing

Milestones with one date

P6 shows a start milestone with no Finish and a finish milestone with no Start. Excel compares a blank cell as zero, so on the raw columns a start milestone fails the finish test and disappears, while a finish milestone passes the start test whatever its date. Your September handover turns up in a March lookahead. That's why the cleaning formulas fall back to the other date.

A time on the last day

Type the window end as 4 April and Excel reads it as midnight at the start of that day. An activity starting at 08:00 on 4 April is later than that, so Start <= end drops it. Comparing against the day after the window, with a strict less-than, closes the gap whether your dates carry times or not.

TODAY() in the window

It's tempting, because the sheet then "updates itself". But the export is frozen at the data date and TODAY() isn't. Open Monday's update on Thursday and anything forecast to finish on Monday, Tuesday or Wednesday falls off the list, whether site finished it or not. Tie the window to the data date, and the report says the same thing on Thursday that it said on Monday.

Check the export before you trust the list

One more cell, B5 on Lookahead:

=COUNTIFS(Export!C2:C2000,"Not Started",Export!G2:G2000,"<"&B3)+COUNTIFS(Export!C2:C2000,"In Progress",Export!H2:H2000,"<"&B3)

It counts unstarted activities with a start before the data date, plus running activities with a finish before it. After a proper schedule run that should be zero, because P6 won't forecast remaining work into the past. Anything else usually means someone entered progress or moved the data date and exported without pressing F9. Don't issue the lookahead until it reads zero.

Tip: Clear last week's rows in A to F before you paste. A shorter export over a longer one leaves old activities at the bottom, and they can still pass the test. And don't wrap the date formulas in IFERROR. An unreadable date should break the list loudly, which is the opposite of the silent zero I warned about in building an S curve in Excel from a P6 export.

This sheet won't tell you the work can actually start. Drawings, materials, permits and a free crane aren't in the P6 dates, so the list is where the coordination meeting begins, not where it ends. If an activity moves from one week's list to the next and nobody can say why, comparing the two XER files in Excel will show you what changed.

My view, and some planners will push back: never type over the lookahead. If site says the slab pour is going on the 22nd, that belongs in P6 as progress or a logic change, and it reaches the sheet through next week's export. Edit the list by hand and you've got two programmes, with site working to the one you don't report.

Next Monday: clear, paste, new data date in B1, and look at B5. The core walls stay on the list until they're finished.