I have a Table1 with data set that contains year (Column A), week (Column B) and values (Column C). I want to get the next smaller week in D4 for a given week in Cell D2 and year in D3 i.e. if D2 = 23 and D3 = 2020 the function should return D4 = 20 based on example data below. The thing is there is duplicate years' and weeks' which makes the following functions not work:<br>
This whopper I found on this forum sadly only returns the 2nd largest value in a column with duplicates (I am not allowed to post a link):
Data set in Table1
Can someone please help to create a function that can look up the next smallest week after a given week in a year?
Bookmarks