  We provide a sufficient condition for a finite number of closed subspaces of
a Hilbert space to be linearly independent and their sum to be closed. Under
this condition a formula for the orthogonal projection onto the sum is given.
We also show that this condition is sharp (in a certain sense).
