Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. 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.
by Allen Wyatt
(last updated November 21, 2015)
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:
Figure 1. The advanced options of the Excel Options dialog box.
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, and 2016. You can find a version of this tip for the older menu interface of Excel here: Setting the Width for Row Labels.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Excel allows you to define the data in a worksheet as a table. Doing so can provide some clear benefits over simply accessing ...Discover More
Excel can make backups whenever you save your workbook. If you want to turn the feature on or off, this tip explains how to ...Discover More
Need to modify how a cell reference, in a formula, is constructed? The shortcut described in this tip will help you step ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.