When Clicking a Cell, Excel Jumps to a Different Cell

by Allen Wyatt
(last updated June 18, 2022)


If Leo clicks on a cell that contains a formula (in order to select that cell), Excel immediately jumps to the cell to which the formula refers, even if that cell is on another worksheet. This obviously makes it very hard for Leo to select cells. He doesn't understand why Excel is doing this, nor does he know how to turn it off.

There are a number of reasons that Leo is experiencing this issue, and it is unclear (from the description) exactly what the cause could be. This means, then, that Leo must engage in a bit of detective work to see what is causing the issue.

The first thing to check is whether this is happening in all workbooks on the system. If the problem is with a single workbook, then it probably means there is some sort of a macro in the workbook that is causing the behavior. You can either save the workbook as a non-macro-enabled workbook (XLSX) or try to track down the macro. If you choose the latter route, then a good place to start is by right-clicking the worksheet tab and seeing if there is any event handler code that is causing the issue.

If the problem is, instead, with all workbooks on the system, then the cause and solution has to do with how Excel is configured. Before checking the configuration, however, make sure that you are really just single-clicking a cell rather than double-clicking. It can be easy to double-click when you are thinking you are single-clicking, but Excel can behave very differently based on the number of clicks.

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 and later versions display the File tab of the ribbon and then click Options.)
  2. Click Advanced at the left side of the dialog box.
  3. Scroll through the list of options until you see the Display Options for This Workbook section. (See Figure 1.)
  4. Figure 1. The advanced options of the Excel Options dialog box.

  5. Make sure the Allow Editing Directly in Cells check box is selected.
  6. Click on OK.

This option (step 4) controls what happens when you double-click on a cell that contains a formula. If the option is selected, then double-clicking allows you to edit the cell directly. If the option is cleared, then double-clicking takes you to one of the cells referenced in the formula—just like Leo is describing.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12911) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...


Specifying Different Weekends with NETWORKDAYS

The NETWORKDAYS worksheet function can be used to easily determine the number of work days (Monday through Friday) within ...

Discover More

Default Font for Comments

Want your comments to stand out a bit more than normal or, to the contrary, to be minimized? You can affect how comments ...

Discover More

Breaking Into Sentences

Macros allow you to easily extend what you can do with Word. If you have a common editing task, that task can often be ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Getting Rid of 8-Bit ASCII Characters

When working with data created outside of Excel, you may need to check that data to make sure it contains no unwanted ...

Discover More

Forcing Input to Uppercase

If you type information into a workbook, you may want to make sure that what you type is always stored in uppercase. ...

Discover More

Quickly Selecting Cells

Need to quickly select a range of cells? Perhaps the easiest way is to use both the mouse and the keyboard together, as ...

Discover More

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is seven less than 7?

2022-06-18 09:41:36

J. Woolley

For a practical joke (or a dirty trick), add this VBA to the code pane of document module ThisWorkbook:

Private Sub Workbook_SheetSelectionChange( _
    ByVal Sh As Object, ByVal Target As Range)
    With Target
        If .HasFormula Then
            Application.EnableEvents = False
            .NavigateArrow True, 1
            .showPrecedents True
            Application.EnableEvents = True
        End If
    End With
End Sub

When a cell with a formula referencing precedent cells is selected, one of those precedent cells will be selected instead. (If the cell has a formula without precedent cells, a beep will sound; if the cell has no formula, there will be no beep.) This applies whether a cell is selected using a mouse click (left or right), an arrow key, the Go To dialog (F5 or Ctrl+G), VBA code, etc., but not when a multi-cell range is selected.
If Leo finds any similar VBA in the …SelectionChange event code of his ThisWorkbook or Sheet… code panes, he should remove it.

This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.