There is an easy way to find out formal charges....
Formal Charge of any atom = Formal charge - (balls + sticks). that's it...count the number of dots + number of bonds (sticks) and that's it, that's your formal charge....EASYYYY. Try it with POCl3 and you will find that the sum = 0.