Suppose I have this sheet showing which group (1, 2 or 3) each student joined on each day of class. Column B indicates in which group he/she last showed up, which is obtained by using the following formula :
=INDEX(FILTER($C3:3;$C3:3<>"");COUNTA($C3:3))
However, every time I add a new student, I must remember to copy the formula in the row I have just created. Can this be avoided? It seems that in other cases, an array formula can do the trick. Here, however, the existing formula already uses ranges, so that I do not see how it should be transformed. Of course, other suggestions besides using an array formula are welcome…