Hello Airtable Wizards,
I am in the process of developing a high school master schedule. At current stage, our goal is to be able to move classes from period to period while using blocks to both monitor total seat count by period and also to drill down to see the seat count, by period, BY GRADE COHORT. (ie. in addition to how many total seats in 1st period, how many are accessible to 9th graders given previous set “open to” parameters.
We have the following tables:

In the “Classes” table we’ve established the course offerings, number of sections, which grades the course it open to, and total number of seats by class concerning the entire master schedule.

In the “Teachers” table we have laid out our 8 period schedule and identified who will teach what. As you can see, we’ve got a block to calculate total number of seats available by period.

While it is important for us to shuffle the schedule to ensure that there is total seat balance between periods, we also need to see that each grade has the appropriate number of seats to meet it’s populations needs. Keep in mind that not all classes are open to all grades.
This (below) is as far as I’ve gotten in terms or pulling the “Open to” data from the “Classes” table. My Rows are what I want but I cannot figure out how to get the right settings/formula for the Columns to reflect each of the 8 periods and the data to communicate the number of available seats to the corresponding grade.

What am I missing?! Thank you for the help!

