When Clicking a Cell, Excel Jumps to a Different Cell

Written by Allen Wyatt (last updated June 18, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


2

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. ...

MORE FROM ALLEN

Can't Open Multiple Workbooks from the Desktop

Having trouble opening a group of workbooks selected on your desktop? The reason is probably due to Windows, not Excel.

Discover More

Speeding Up Printing

Changing a couple of the print settings in Excel can speed up the printing of your worksheets. This tip examines those ...

Discover More

Word Won't Capitalize Some Sentences

By default, Word capitalizes the first letter of sentences as you type. If you notice that Word doesn't capitalize some ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Splitting Sentences to Cells

If you have a lot of text in your workbook, at some point you might want to split out sentences into individual cells. ...

Discover More

Pulling Apart Cells

Separating text values in one cell into a group of other cells is a common need when dealing with text. Excel provides a ...

Discover More

Pasting and Matching Destination Formatting

Sometimes, getting numbers from a program into Excel, using the formatting you want, can be a challenge. This tip ...

Discover More
Subscribe

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

View most recent newsletter.

Comments

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 9 - 3?

2022-07-03 14:21:10

J. Woolley

The ReportDents macro in My Excel Toolbox will trace direct precedents and dependents for each cell in the active sheet's Selection and report results in a separate '...dents' worksheet with each row including hyperlinks to the source cell and its precedent or dependent target range. For example, if 'Sheet1'!$A$1 contains the formula
=SUM('Sheet2'!$B$1:$B$9)
then the '...dents' sheet will include hyperlinks to 'Sheet1'!$A$1 and its precedent range 'Sheet2'!$B$1:$B$9.
See https://sites.google.com/view/MyExcelToolbox/


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
            .showPrecedents
            .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
Subscribe

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.