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

Setting the Width for Row Labels

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


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

Changing Existing Highlighting

Need to change the color you previously used to highlight text in your document? You can use Word's Find and Replace tool ...

Discover More

Opening a Document as Read-Only

Afraid of messing up an existing document by some changes you are considering? Consider opening the document as ...

Discover More

Formatting Text Files with VBA

Got a bunch of text that you've imported from a text file? Need to make it look better? You can take a stab at it with ...

Discover More

Program Successfully in Excel! This guide will provide you with all the information you need to automate any task in Excel and save time and effort. Learn how to extend Excel's functionality with VBA to create solutions not possible with the standard features. Includes latest information for Excel 2024 and Microsoft 365. Check out Mastering Excel VBA Programming today!

More ExcelTips (ribbon)

Disabled Page Setup Tools

It can be frustrating if you expect to use some of Excel's tools normally available on the ribbon, but those tools are ...

Discover More

Can't Access the Registry

Many Windows applications rely on information stored in the Registry. If that information cannot be accessed, the ...

Discover More

Writing an Excel Help File

If you develop applications or add-ins using VBA, you may want to create a help file that supports your project. 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 six more than 3?

2024-10-20 15:38:15

Alec W

You could also put the chart somewhere else and show it where you want to using the camera tool


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.