Upper Bounds for the Distance to Finite-Dimensional Subspaces in Inner Product Spaces