can somebody please help me with this:

the question is

how many tests did you give to the class?

and you put a number

then i have to find the average of the tests for a particular student

but i dont know how many tests the other is goin to enter

so my formula doesnt work

can you help? in any way?