A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
You need an exact match since your data is not sorted, so you should use MATCH(D2,Weeks!A2:A18,0). You don't need the second match at all since your INDEX range is one column.