The best way would be to omit them via the relationships, so a few tweaks in the current setup may be all that is needed, can you provide any more information on how the relationships are setup?
The relationship is by Date (for each class occurs on different dates) and then sorted by time.
Date::Class and Date::Schedule
The table is Schedule and each portal (there are 5) is Schedule1, Schedule2, etc.
If you need more information, each group of classes (eg. 8 to 10, 10 to 12) have a group number 1,2,3
So in the portals it is sorted by a modified search based on Group number (using value lists).
So what I need to do (I guess) is create a field to use as the relationship that says:
If ( Group Number = 1) andIf ( Schedule = date)?
Is there a way to incorporate 2 "If" functions in the one calculation?