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


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, 2021, and Excel in Microsoft 365. 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

Understanding Views

Want to see how your document will look before it's printed? Or, do you want to see what things will look like if you put ...

Discover More

Copying Headers and Footers

Need to get headers and footers from one document to another? You can use the steps in this tip to help make quick work ...

Discover More

Creating a Center Across Selection Button

The ability to center text across a range of cells has long been a staple of experienced Excel users. Here's how to ...

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)

Selecting Formulas

Want to select only the formulas in your worksheet? It's easy to do using the Go To Special dialog box.

Discover More

Automatically Adding 20% to an Entry

When you are developing a worksheet for others to use, you may want to have entries in a particular cell (or cells) be ...

Discover More

Defeating Date Parsing when Pasting Information

Paste information directly into a worksheet, and you may be surprised that Excel makes some of the data unusable. This ...

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