You can add a formula text box for editing formulas. The formula text box is similar to the formula editor available to the developer and has the appearance of a text box. The formula bar provides a list of calculation functions and provides a visual method of selecting cell ranges for the formula.
For more information, refer to Using the Additional Spread Controls.