Hi Max,
If you could post the spreadsheet, even non-functioning, it would help my understanding.
MD