Function Problems

Find a Start Week and Generate a Project Sequence in Excel

Nimra MalikNimra Malik Dec 2, 2026 868 views

Question details

Find a start week in a list and return the requested number of consecutive project weeks.

Find a Start Week and Generate a Project Sequence in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A project has a start week and a duration, and its weeks should be drawn from an existing list.
Observed behavior
The desired result is a sequence beginning with the matching start week and continuing in the order of the list.
Before you start

Arrange the weeks in a single column in the order you want them returned, without blank entries. Enter a start week that matches the list and a positive whole number for the project duration.

Solution 1Recommended

Return project weeks with MATCH, DROP, and TAKE

Use this spill formula in an Excel version that supports TAKE and DROP, such as Microsoft 365.

1
Set up the inputs

Place the week list in A2:A53, the start week in D2, and the number of weeks in E2. Adjust these references if your data is elsewhere.

2
Enter the sequence formula

Select F2 and enter =TAKE(DROP(A2:A53,MATCH(D2,A2:A53,0)-1),E2). The results spill down from F2.

3
Check the output

Make sure the cells below F2 are empty. If the weeks are dates, select the output cells and apply a date format from Home > Number.

Return project weeks with MATCH, DROP, and TAKE
List order and available weeks: MATCH uses the first exact match, and the formula follows the list downward. If fewer weeks remain than the duration requests, only the available entries are returned.
Create project sequences in WPS

Generate project weeks in WPS Spreadsheets

Use INDEX and MATCH in WPS Spreadsheets to find a start week and copy a project sequence down a column.

  1. 1. Open the workbook: Open WPS Spreadsheets and select Open to load your workbook.
  2. 2. Prepare the inputs: Place the ordered week list in A2:A53, the start week in D2, and the duration in E2.
  3. 3. Enter the formula: Select F2 and enter =IF(ROWS($F$2:F2)>$E$2,"",IFERROR(INDEX($A$2:$A$53,MATCH($D$2,$A$2:$A$53,0)+ROWS($F$2:F2)-1),""))
  4. 4. Fill down and format: Drag the fill handle down enough rows for the duration. If the weeks are dates, select the results and apply a date format from the Home tab.
Return project weeks in the order of your existing listUse a copy-down formula to control the sequence lengthOpen and edit Microsoft Excel XLSX and XLS filesWork with a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

What happens if the start week appears more than once?

MATCH with 0 as its third argument finds the first exact match. Make the week identifiers unique if the sequence needs to start at a later occurrence.

Why does the TAKE and DROP formula show #N/A?

The start week may not match an entry in the list. Check D2 against A2:A53, including whether both values are stored as dates or both as text.

Why does the sequence contain fewer weeks than requested?

There may not be enough entries below the start week. Extend the week list and update the A2:A53 references to include the additional rows.

Can the formula return weeks in reverse order?

The formulas follow the list downward. To return weeks in reverse chronological order, arrange a separate week list in that order and reference it in the formula.

Why are my returned weeks displayed as numbers?

Excel stores dates as serial numbers. Select the result cells and choose a date format under Home > Number.