Calculation based on 2 different columns and 3 different rows
I have attached an example I am having trouble on, I am trying to calculate the tons per quarter on the sheet based off the start year, quarter, and amount of tons. If the total tonnage is less than 50k then it starts on the year and quarter to left of city and is split out by percentages below for 1 year. If it is greater than 100k it is split out by 2 year percentages, greater than 150k it is split out by 3 year percentages. I have a lot of cities that are changing all the time so I want it to automatically adjust when I change total tons and start times. Thanks for the help.
Updated File with expected results
I posted the expected results for this example, I want to be able to change the start year and quarter and tonnage total and it to automatically update. Actual sheet goes way beyond 2010. I also fixed the year percentages.