Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Weird Mouse Shortcut.

Weird Mouse Shortcut

by Allen Wyatt
(last updated April 4, 2020)

1

There's an interesting little shortcut you can use to navigate around your worksheet, if you like to use the mouse quite a bit. When you select a cell, Excel places a bold outline around that cell. If you double-click on one of the borders of the cell, Excel moves the cell selection in the direction indicated by the border you double-clicked.

That may sound confusing, but try this to get an idea of how this shortcut operates:

  1. Select a cell in the middle of a data table in a worksheet.
  2. Double-click the bottom border of the selected cell. (Don't double-click the fill handle; make sure you only double-click on the border.)

That's it. Did you notice that Excel selected the last cell in the column that has anything in it? The same thing happens if you click on the other sides of selection border: double-click the left side to jump left, the top side to jump up, and the right side to jump right.

You may be tempted to think that double-clicking the selection border is the same as holding down the Ctrl key as you press one of the directional arrows on the keyboard. If the cell you originally have selected is within a data table, then the two approaches (mouse and keyboard) do have the same effect. If the original cell is outside of a data table, however, then the effect is not the same.

For instance, select an unused cell to the right of your data table. There should be several empty columns between the cell you select and the edge of the data table. If you hold down the Ctrl key as you press the Left Arrow, then Excel selects the next cell in that row, to the left, that has something in it. In other words, it selects the cell that is at the right edge of your data table in that row.

If, instead, you double-click the left selection border for the cell, then the first occupied cell is not selected. Instead, Excel selects the cell just to the right of the first occupied cell. In other words, it selects the last empty cell before the edge of the data table in that row.

Spend some time playing around with this method of navigation. You may be surprised by how Excel moves the cell selection.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (664) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Weird Mouse Shortcut.

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

Hiding the Reviewing Toolbar

Does the Reviewing toolbar keep popping up whenever you create a document? Here's a possible reason, along with what you ...

Discover More

Swapping Two Strings

Part of developing macros is learning how to use and manipulate variables. This tip examines a technique you can use to ...

Discover More

Compound Page Numbering

Simple page numbering is easy to add to your documents. More complex numbering (such as two numbering schemes in the same ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Weird Actions for Arrow Keys and Enter

If your arrow keys and the Enter key aren't working as you expect them to, the problem could have any number of causes. ...

Discover More

Reference Shortcut

Need to modify how a cell reference, in a formula, is constructed? The shortcut described in this tip will help you step ...

Discover More

Drop-Down List Font Sizes

Excel has several features that cannot be customized. The font size in the drop-down lists is one of them. If you need ...

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 nine more than 9?

2020-04-08 07:32:14

Brian Nowell

Re: https://excelribbon.tips.net/T000664_Weird_Mouse_Shortcut.html

Not only did I find this intriguing but I did find that if I held the Shift key when clicking a border I actually selected the range to the first empty cell. Then selecting the border on one side of that range I selected all cells adjacent and to the first empty cell on that side of the selection.

I had an array of digits, like 9 rows and 4 columns. By selecting an interior cell and using Shift and clicking a border I selected the cells in the range adjacent that border. Then selecting borders in turn (still holding the Shift) adjacent cells containing data, with four selection I was able to select all cells without selecting the top-left cell and then dragging to the lower right cell. Much easier.

With such a 'trick' i see value for myself in being able to colour fill a selection or even apply conditional formatfing.


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.