I have a dataset with few years of historical orders and sales. I am trying to come up with a 3 Yr Avg% and 5 Yr Avg % which is essentially 3 Yr Sum (Orders)/3 yr Sum (Sales) and 5 Yr is based on historical 5 Years (For each state and each week) . Only caveat is it has to ignore the latest year available in dataset, e.g. in current example it will ignore 2021 information and goes further 3 and 5 year back. I have attached dataset in the excel with current and expected views.