You can reference a cell in a formula or function by specifying its cell address, such as A1 or B2. You can also use relative cell references, which adjust based on the position of the formula, or absolute cell references, which remain fixed.