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

Setting the Starting Line Number

You are not limited to starting the line numbering in a document with 1. You can, instead, start the numbering at any ...

Discover More

Normal Words Flagged by Spell Check

What do you do when Word's spelling check marks some common, everyday words as wrong? Here are some ideas of places you ...

Discover More

Cleaning Up Text in a Macro

Need to remove extraneous characters from a text string? VBA makes it easy through the CleanString method, described in ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More ExcelTips (ribbon)

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

Drop-Down List Font Sizes

Excel has several features that cannot be customized. The font size in the drop-down lists is one of them. If you need ...

Discover More

Accessing Stock Information

Do you follow the stock market? If you do and you want to get stock information into a worksheet, there are some new ways ...

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 nine minus 1?

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.