(1) An equation or expression.
(2) In spreadsheet applications, a formula is an expression that defines how one cell relates to other cells. For example, you might define cell C5 (column C, row 5) with the formula
=A4*D7
which means to multiply the value in cell A4 by the value in cell D7.