Thank you! You are right, it is easier to use sumproduct function to sum the hours. The part that I still don't figure out is how to display the list of subjects per each individual (cell E14,15 and so on).