Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and 2021. 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

Written by Allen Wyatt (last updated October 25, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021


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

Automatically Adjusting Height for Text Boxes

Text boxes are often used to enhance the layout of documents. You may want a text box that adjusts its height ...

Discover More

Entering Data as Thousands

There are many different ways you may need to enter data in a worksheet. For instance, you might want to enter data in ...

Discover More

Putting Something in Every Cell of a Table

Need to make sure that all the cells of a table have something in them? It's easy to do with a handy little macro.

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)

Problems Pasting Information into a Worksheet

What do you do if pasting information into a worksheet brings Excel to its knees? This tip looks at just a few ideas you ...

Discover More

Picking a Workbook Format

Need to share workbook information with a wide number of people? It can be puzzling to figure out which version of Excel ...

Discover More

Measuring Efficiency of Formulas and Macros

As the limits on what you can store in Excel have increased, so has the need to consider how to make your workbooks and ...

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 seven more than 2?

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.