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

Written by Allen Wyatt (last updated April 4, 2020)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


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

Generating Random Testing Data

Need to test your formulas? Then you need some testing data that you can use to see if the formulas function as you ...

Discover More

Automatically Identifying Repeated Words

Need to find out how many times words are repeated in a document? If so, you'll appreciate the discussion in this tip ...

Discover More

Generating Random Strings

Do you need to generate strings of random characters? The ideas presented in this tip will help you do it in a hurry.

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)

Understanding R1C1 References

Referring to cells is typically done using a letter and a number, which represent the column and row. That's not the only ...

Discover More

Appearance of Excel on the Taskbar

Do you want Excel to use a task button, on the Windows Taskbar, for each of your open worksheets? Then just make this ...

Discover More

Fixing a Numeric Keypad Key

We all expect the keyboard keys to operate as normal, and when they don't, it can be bothersome. Geraldine had such a ...

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 6 - 0?

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.