Hi there,
I am working on an attendance sheet where the name of the students, their gender (either "G" & "B"), and their respective categories (5 different categories) are in the continuous columns. Please note that everything is in random order. Now in the next 30/32 cells the dates are written in which a teacher puts either a "P" (for present) or an "A" (for absence) or even left it blank for absence. See the image for a better understanding:
sample.png
Now I need to calculate "How many students were present at least one day in different categories and gender"? i.e. for an example How many boy (B) students from category 2 (CAT2) attended the school at least 1 day.
Kindly note that we do not have to count "How many days a particular student attended the class?". That means for each student we have to search for only 1 "P" in the date cells. I tried many things like SUMPRODUCT, COUNTIFS etc. But nothing gave me the desired result.
Please help !
Thanks in advance!
Bookmarks