Which is not a way to edit a formula in a cell?
Press F2.
Select the cell and then click in the formula bar.
Double-click the cell
Right-click the cell and select Edit