4

When I press F2 in a cell I can edit it inside the cell. However often it's just more convenient to make the edit in the formula bar.

I can switch to formula bar by mouse, just wondering whether there is a keyboard shortcut for that?

when editing in formula bar, highlights are applied there and also cursor blinks there:
when editing in formula bar, highlights are applied there and also cursor blinks there

4 Answers4

3

In the Excel options menu, turn off the option Allow editing directly in cells. Now when you press F2, you'll always be editing in the Formula bar.

enter image description here

I don't believe there's a keyboard-based solution to this.

2

If you do not want to disable editing directly in cells, there's this long workaround:

If the cell is empty, it's easy: Press F2, then Ctrl+A.

Unfortunately, that shortcut only works if the cell is empty. If the cell is not empty, you must first clear the contents. So you could use this key sequence: Del, then F2, then Ctrl+A.

But assuming you want to retain the original formula, you'd have to copy and paste it.

Thus, if the cell is not empty, this key sequence does the job:

  1. F2 (modify the cell in place)
  2. Ctrl+A (select the formula)
  3. Ctrl+X (cut the formula to clipboard)
  4. Ctrl+A (jump to formula bar)
  5. Backspace (remove equal sign, since it is already on the clipboard)
  6. Ctrl+V (paste original content)

Note that steps 2-4 can be reduced to a single step: Ctrl+A,X,A.

RyanS
  • 31
  • 3
1

You can use CTRL+F2 to do this!

Toto
  • 19,304
0

There is unfortunately no way to do this in Excel 365, as discussed here.

Will update this answer if this feature arrives.

nu_popli
  • 101