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