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

Creating Hyperlinks from E-mail Addresses

Got a document that has a whole raft of e-mail address in it? You can easily convert all of them to clickable hyperlinks ...

Discover More

Working with Imperial Linear Distances

Excel works with decimal values very easily. It is more difficult for the program to work with non-decimal values, such ...

Discover More

Cross-Reference Removes Superscript Formatting

When you add a cross-reference to your document, it provides a way to dynamically reference text in another location, ...

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)

Getting Rid of 8-Bit ASCII Characters

When working with data created outside of Excel, you may need to check that data to make sure it contains no unwanted ...

Discover More

Undoing Actions in Only the Active Workbook

When you undo actions within Excel, those steps you undo may affect the multiple workbooks in which you've been working. ...

Discover More

Entering Characters with Diacritical Marks

Entering characters that use diacritical marks is easy as pie in Word and some other programs. Not so in Excel, it takes ...

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 2 + 2?

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.