Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, 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: How Many Rows and Columns Have I Selected?.

How Many Rows and Columns Have I Selected?

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


4

As I am typing along in Excel, I find it a bother to take my hands off the keyboard and fumble for the mouse. Thus, I will often use the keyboard to make selections. I simply hold down the Shift key and use the arrow keys to expand my selection. As I do so, Excel obliges me by reporting, in the Name box, the number of rows and columns I have selected.

The problem is, once I let go of the Shift key, the contents of the Name box return to normal, and I can no longer tell how many rows and columns I selected. To solve this, I find it very easy to again hold down the Shift key and press one of the arrow keys. This expands the selected range and again reports the selection size in the Name box. If I immediately press the opposite arrow key (while still holding down the Shift key), the selection returns to my original size and I can see the size of that selection in the Name box.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8849) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: How Many Rows and Columns Have I Selected?.

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

Restoring the Analysis ToolPak

Add-ins for Excel, such as the Analysis ToolPak, are stored in files on your hard drive that can be deleted. If you ...

Discover More

Deriving an Absolute Value in a Macro

Need to figure out an absolute value within your macro code? It's easy to do using the Abs function, described in this tip.

Discover More

Rounding Time

Need to round the time in a cell to a certain value? There are a couple of ways you can do this with a formula.

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)

AutoFilling Numbers with a Trailing Period

The AutoFill tool is very handy when it comes to quickly filling cells with a sequence of values. Sometimes, however, it ...

Discover More

Understanding AutoComplete

Entering data in a worksheet can be time consuming. One of the tools that Excel provides to make entry easier is ...

Discover More

Colors No Longer Work

It can be disconcerting if you are editing a workbook and can no longer change colors for cells in the workbook. 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 8 + 7?

2024-10-29 10:01:31

J. Woolley

@Mechie
And if you use the mouse to select a bunch of cells and press Shift before releasing the mouse button, the Name box does NOT return to normal after the mouse button is released even if Shift is subsequently released.


2024-10-28 14:55:41

Mechie

Just discovered something.

If I use the mouse drag method to select a bunch of cells, it will show the number of rows and columns as long as the mouse button is held down. Once you release it, the Name box returns to showing just the active cell address.

However, if I use the Shift and Arrow keys to select a range, then the Name box does retain the number of rows and columns after releasing the shift button. Also works if I expand a range using Shift and Arrow keys that was previously selected using just the mouse.

Interesting. Never paid attention to this before so can't say if it is a change or not. And would like to hear Microsoft's reasoning for having the two different selection methods respond differently. Almost have to wonder if this is by design, or just chance.


2024-10-26 11:01:26

Allen

Huh. You are correct, James. I just checked on my latest 365, and it doesn't go away. This must be a very recent change, as it didn't work that way previously.

-Allen


2024-10-26 10:51:46

J. Woolley

I'm using Excel 365. When I "let go of the Shift key" as described in the Tip's second paragraph, the contents of the Name box does NOT return to normal; I can still see how many rows and columns I selected. I wonder which version of Excel modified the behavior described in the Tip.


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.