Hi
I am new to the site and hoping someone may be able to rescue my school data tracking spreadsheet project from certain death!
Basically I have created a spreadsheet which in relevance to this formula matches a class code i.e. 7ABC (B4) which is entered on a Y7 overview sheet, with any students in a sheet 'Year 7' marked as in that class in C5:C300. It then counts the number of students making '3LP' within that class and dumps this into cell E11 on my Y7 Overview sheet. I have this bit working fine, but what I am also wanting to do is get the formula to also match the 'Term' (B5) selected so that it will only bring back levels of progress for the selected term and group. I have pasted my formula below. Any help with this would be greatly appreciated as I have tried placing brckets/ANDs/IFs/ORs in more places than I can remember!
=(IFERROR(IF($B$5=1,COUNTIFS(('Year 7'!$C$5:$C$300),('Y7 Overview'!$B$4),('Year 7'!$Q$5:$Q$300),"4LP"),
AND(IF($B$5=2,COUNTIFS(('Year 7'!$C$5:$C$300),('Y7 Overview'!$B$4),('Year 7'!$Y$5:$Y$300),"4LP")),
AND((IF($B$5=3,COUNTIFS(('Year 7''Year 7'!$C$5:$C$300),('Y7 Overview'!$B$4),('Year 7'!$AG$5:$AG$122),"4LP")))))),"No Data"))
I am new to the site and hoping someone may be able to rescue my school data tracking spreadsheet project from certain death!
Basically I have created a spreadsheet which in relevance to this formula matches a class code i.e. 7ABC (B4) which is entered on a Y7 overview sheet, with any students in a sheet 'Year 7' marked as in that class in C5:C300. It then counts the number of students making '3LP' within that class and dumps this into cell E11 on my Y7 Overview sheet. I have this bit working fine, but what I am also wanting to do is get the formula to also match the 'Term' (B5) selected so that it will only bring back levels of progress for the selected term and group. I have pasted my formula below. Any help with this would be greatly appreciated as I have tried placing brckets/ANDs/IFs/ORs in more places than I can remember!
=(IFERROR(IF($B$5=1,COUNTIFS(('Year 7'!$C$5:$C$300),('Y7 Overview'!$B$4),('Year 7'!$Q$5:$Q$300),"4LP"),
AND(IF($B$5=2,COUNTIFS(('Year 7'!$C$5:$C$300),('Y7 Overview'!$B$4),('Year 7'!$Y$5:$Y$300),"4LP")),
AND((IF($B$5=3,COUNTIFS(('Year 7''Year 7'!$C$5:$C$300),('Y7 Overview'!$B$4),('Year 7'!$AG$5:$AG$122),"4LP")))))),"No Data"))