Change the Year Returned by an Excel VLOOKUP Date Formula
Question details
The user wants the VLOOKUP formula to return week-start dates for a new year instead of dates from 2022.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet looks up a week number in a Week Numbers sheet and returns the corresponding start date.
- Observed behavior
- The lookup returns a date such as January 3, 2022, from the existing lookup table.
Open the Week Numbers sheet and check that column A contains the week numbers and column B contains their start dates. Confirm which day starts a week and which date should be the first week start in the new year.
Update the Week-Start Dates in the Excel Lookup Table
Use this method when VLOOKUP points to the correct table but column B still contains dates from the old year.
The formula =IFERROR(VLOOKUP(A3,'Week Numbers'!A:B,2,FALSE),"") finds the week number from A3 in column A and returns the matching value from column B. Changing the lookup table updates the result without changing the VLOOKUP formula.
The example below uses Monday, January 2, 2023, as the start of week 1 and assumes week numbers 1 through 52 are in column A. Adjust the start date and number of rows for your year and week-numbering convention.
Select the Week Numbers sheet tab and find the first week number in column A and its corresponding date in column B.
If the first week number is in A2, select B2 and enter =DATE(2023,1,2)+7*(A2-1). This calculates the Monday start date for the week number in A2.
Drag the fill handle from B2 down through the rows containing week numbers. If your table starts on another row, adjust the A2 reference to match that row.
Return to the sheet with VLOOKUP and check the result for a known week number. If the result displays as a number, select the result cell and choose a date format from Home > Number Format.

Update Week-Start Dates in WPS Spreadsheets
Open your workbook in WPS Spreadsheets and update the dates in the lookup table so your existing VLOOKUP returns dates for the new year.
- 1. Open the workbook: In WPS Spreadsheets, open the workbook and select the Week Numbers sheet tab.
- 2. Enter the date formula: If week numbers start in A2 and week 1 starts on January 2, 2023, select B2 and enter =DATE(2023,1,2)+7*(A2-1).
- 3. Fill the date column: Drag the fill handle from B2 down alongside the week numbers in column A.
- 4. Verify and save: Return to the VLOOKUP sheet to check a known week, then choose File > Save to save the updated workbook.

Frequently Asked Questions
Why does VLOOKUP return a date from 2022?
VLOOKUP returns the value stored in column B of the Week Numbers sheet. If that table contains 2022 dates, update those dates or their formulas for the new year.
Do I need to change the VLOOKUP formula for 2023?
Not if it already looks up the correct week number in 'Week Numbers'!A:B. Update the corresponding dates in column B, and the existing formula can return the new values.
Why does the formula return a blank cell?
IFERROR displays a blank when VLOOKUP encounters an error. Check that the week number in A3 exists in column A of the Week Numbers sheet and that both values use matching number or text types.
Why does the returned date appear as a number?
Excel stores dates as serial numbers. Select the result cell and choose a date format from Home > Number Format to display it as a date.




