You can add a formula provider control to the form that will provide formulas for other controls on the form.
For more information, refer to Using the Additional Spread Controls.