the school had a excel spreadsheet that was very glitchy in that they had:
=SUMPRODUCT(--(ISNUMBER(MATCH(TEXT(ROW(INDIRECT(Schedule!$B$1&":"&Schedule!$C$1)),"dddd"),B7,0))))
with schedule related to a date range and B7 was the day of class but not sure how to do this in access