Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Office 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: Setting the Width for Row Labels.

Setting the Width for Row Labels

by Allen Wyatt
(last updated February 18, 2020)

1

Lars has a worksheet that has a large amount of data—approximately 5,000 rows. At the top of the worksheet he has a graph based on that data, with the data itself starting at row 30. He has the top 30 rows frozen so that he can always see the graph and column headings. When he scrolls down through the data and gets to row 1000, the row labels (left side of screen) become wider and this forces Excel to redraw the graph. The redrawing slows down scrolling and would be unnecessary if Lars could find a way to set a width for the row labels, so they were wide enough to accommodate the four digits necessary for these "upper" rows.

There are a few ways you can approach this issue. The first is to simply turn off the row and column headings. To do so, follow these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 and later versions, display the File tab of the ribbon and then click Options.)
  2. At the left of the dialog box click Advanced.
  3. Scroll through the available options until you see the Display Options for this Worksheet section. (See Figure 1.)
  4. Figure 1. The Advanced options of the Excel Options dialog box.

  5. Make sure the Show Row and Column Headers check box is selected. If cleared, then the header area is not displayed.
  6. Click on OK.

Now you won't have the problem because Excel doesn't display the row headers at the left of the screen. If you really need to have some indication as to row number, you could always insert a blank column A, then insert numbers representing the row numbers, 1 through 5,000 (or however many rows there are). This column could be made as wide as necessary, so there won't be any redrawing as you scroll.

Another approach is to actually start your data and graph below row 1000. Insert enough blank rows above your graph and data to move them down into the four-digit row number range, and then hide rows 1 through 999.

A variant on this approach is to keep your graph where it is and insert enough rows to move just the data downward, so it starts at row 1000. Hide rows 30 through 999 and you should see no redrawing occur as you scroll.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11677) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. You can find a version of this tip for the older menu interface of Excel here: Setting the Width for Row Labels.

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

Seeing Where Bookmarks Are

Bookmarks can be great for referencing and finding portions of your document. If you want to easily see where the ...

Discover More

Overcoming Automatic Word Selection

When you select text with the mouse, Word usually selects entire words for you. If you don't want to do this, you can use ...

Discover More

Criteria-Based Counting in a Filtered Column

The filtering capabilities of Excel are excellent, providing you with great control over which records in a worksheet are ...

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)

Loading Lotus Spreadsheet Files

Spreadsheet programs have been around for a long time, and you may have some data saved in a format used by a spreadsheet ...

Discover More

Converting PDF to Excel

Reports and other formal documents are often distributed in PDF format so that they can be read and printed on a variety ...

Discover More

Disabling the F1 Key

Tired of hitting the F1 key by mistake and pulling up the Help system? Here are a couple of ways (one drastic and one not ...

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}] 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 9 - 8?

2020-02-18 12:03:25

Chuck Trese

A simple solution to continue showing headers, but not have the shift:
1) insert 1,000 (one thousand) rows at the top, (or shift all your data down 1,000 rows)
2) then collapse or hide those first 1,000 rows.
In this way, Excel will always show row numbers with at least 4 digits, so the screen won't shift as you scroll down.


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.