Hi everyone - hoping you might help with this - it seems like an easy thing to propose but I have spent most of the morning googling and haven't got what I am hoping to find yet.
I have a spreadsheet with a column of student names and rows of subjects into which grades are entered.
At the end of each row I have used a Countif to total the number of each type of grade that each student name has achieved. - this works fine.
I have added a column to the right of the Student Names called "Remove" and I would like to use it in such a way that if I enter a character eg an "0" into a cell beside a name that I can stop the Countif from totalling the grades of each type, but if the character in the cell is a "1" then the formula works as it did.
I haven't had any success doing this...
but I have learnt about filtering - which still adds up even hidden rows.
I also thought about multiple criteria Countifs - but the criteria seems to require a range, rather than the single cell check I want to use.
I have got tied up in SUMPRODUCT knots to be honest.
the working formula that just adds up, for example C grades is
=COUNTIF(F13:AF13,"C")
I am trying to get that formula to return a result only when C13 (my "Remove" column) has a !1" in it - otherwise it should return a zero count.
Hoping this might be something you can advise on?
p86c
I have a spreadsheet with a column of student names and rows of subjects into which grades are entered.
At the end of each row I have used a Countif to total the number of each type of grade that each student name has achieved. - this works fine.
I have added a column to the right of the Student Names called "Remove" and I would like to use it in such a way that if I enter a character eg an "0" into a cell beside a name that I can stop the Countif from totalling the grades of each type, but if the character in the cell is a "1" then the formula works as it did.
I haven't had any success doing this...
but I have learnt about filtering - which still adds up even hidden rows.
I also thought about multiple criteria Countifs - but the criteria seems to require a range, rather than the single cell check I want to use.
I have got tied up in SUMPRODUCT knots to be honest.
the working formula that just adds up, for example C grades is
=COUNTIF(F13:AF13,"C")
I am trying to get that formula to return a result only when C13 (my "Remove" column) has a !1" in it - otherwise it should return a zero count.
Hoping this might be something you can advise on?
p86c