the xlsread function put the content of the excel file in a matrix. In this way, analyse the matrix become a simple task.
Now, you can use a for loop to analyse your data.
i.e. for a single student, this is a way:
tot= 0;
for i = 1:16
if isnan(a(1,i))==0
tot = tot + a(1,i)
end
end
Then, you need another loop to repeat the same code for all the students.