Check out calculation fields module