When having problems with calculations and formulas, try posting some specific examples (make them up, if necessary) where you think you are applying them correctly (even if you have a good feeling that you aren't). Be as complete as possible and show things step by step as much as possible. That will let us get into your mind a little bit and be better to able spot where you have it right and where you take a turn off the correct path.