if you want to learn how to this also yourself in case you want to change the formulas later on I would suggest a good resource to check out here:

http://www.teachexcel.com/tutorials/...raction_p1.php
http://www.teachexcel.com/tutorials/...s/formulas.php