Hi, sorry for not being very clear. the year is either 7,8,9,10 or 11 and would be determined by the value in cell B2 (that would not be visible for the user but woudl change if the user changed a term in cell C2) .
the year group is part of the class name so if the filter was on I.T. and the year was 11 then the classes displayed in A43:A54 should be: 11A/It1 if the year was 10 the class displayed woudl be 10A/It1
I managed to base it on 1 criteria: subject (A2) but i need to base it on another criteria which would be part of the name of the class that match the year.
hope it makes more sense now.
Thank you
Ewa
P.S.
(i tried to attach the spreadsheet (zip) again, got same problem: (no problem attaching pics)