Find a Start Week and Generate a Project Sequence in Excel
Question details
Find a start week in a list and return the requested number of consecutive project weeks.

- 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.
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.
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.
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.
Select F2 and enter =TAKE(DROP(A2:A53,MATCH(D2,A2:A53,0)-1),E2). The results spill down from F2.
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.

Generate the sequence with INDEX and MATCH
Use this copy-down formula when TAKE and DROP are unavailable.
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. Open the workbook: Open WPS Spreadsheets and select Open to load your workbook.
- 2. Prepare the inputs: Place the ordered week list in A2:A53, the start week in D2, and the duration in E2.
- 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. 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.

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.




