Formula property

This property returns or sets a formula for the cell.

Defined in

TextTableCell

Data type

String

Syntax

public String getFormula() 
public void setFormula(String formula)

Usage

Formula property is used to calculate automatically the cell's value. For example, =Sum<C2:E2> sums the values of cells on row 2 from column C to column E, or for example, =<C2>*<E2> multiplies the value of cell C2 by E2.

See examples

Example: Formula property