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

Moving and Copying Graphics Objects

Excel doesn't just work with numbers and text. You can also add graphics objects to your worksheets, and then use Excel's ...

Discover More

Word 2010 Indexes and Special Tables (Table of Contents)

One of the finishing touches used in some types of documents are an index or a special table, such as a table of ...

Discover More

Creating Two-Line Custom Formats

Creating custom formats is a very powerful way to display information exactly as you want it to appear. Most custom ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Finding Unused Names

After months or years of naming things (such as cell ranges), you may find your workbook cluttered with a bunch of names ...

Discover More

Easily Adding Blank Rows

Want to add a bunch of blank rows to your data and have those rows interspersed among your existing rows? Here's a quick ...

Discover More

Conditionally Deleting Rows

Want to delete a bunch of rows in a worksheet based on the value in a certain cell of each row? There are a couple of ...

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

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.