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

Comments Don't Appear when Cell is Pointed To

One way that you can view comments in a worksheet is to have them appear when you hover the mouse pointer over a cell. If ...

Discover More

Accurately Setting Tabs Using the Ruler

If you try to set tabs by clicking on the Ruler, you may not be able to set them exactly where you want. This is normally ...

Discover More

Adding Drop Shadows

Want your shapes to really "pop" off the page? Add a drop shadow to them, as described in this tip.

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)

Closing Excel when Closing the Last Workbook

Have you noticed that when you close the last workbook in Excel, the program window itself often stays open? This ...

Discover More

Embedding Your Phone Number in a Workbook

Want to provide a bit of contact information in a workbook? A great place to do it (out of sight, but not inaccessible) ...

Discover More

Speeding Up Large Worksheets

If your worksheet gets large enough, you may notice a severe slowdown when it is recalculated. This tip provides some ...

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

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.