How To Add Scroll Bar To Excel Cell

When there are huge data rows in your excel worksheet, you had better add a scroll bar to navigate the data rows. This article will tell you how to add a scroll bar to a cell range to scroll your data rows easily in the excel cell range.

1. How To Add Scroll Bar In Excel.

1.1 Add Scroll Bar In Excel Example Description.

  1. Below is this example excel worksheet.
    how to add scroll bar in excel cell range
  2. Column A contains the month list which contains 12 months.
  3. Column C contains a cell range that displays part of column A.
  4. There is a scroll bar beside column C.
  5. When you click the arrow of the scroll bar, it will scroll to display different month values listed in column C in order.
  6. You can see there is an integer number value in cell $D$3.
  7. When you scroll the scroll bar, the integer number in cell $D$3 will increase or decrease accordingly.

1.2 How To Add Scroll Bar In Excel.

1.2.1 Add Scroll Bar Into Excel Worksheet.
  1. Click the excel Developer tab on the excel top area, if you can not find the tab, you can read the article How To Enable Developer Tab And Write VBA Source Code In Excel.
  2. Then click the Insert down arrow in the Controls group ( Windows ).
  3. Then click the ScrollBar control and drag & drop it into your excel worksheet ( Windows & macOS).
  4. Place the ScrollBar control on the right border of column B.
  5. When you right-click the ScrollBar, you can adjust the control width and height by dragging the border or corner square of the control.
  6. When the scroll bar width is bigger than it’s height, it will scroll horizontally, when the scroll bar width is smaller than it’s height, it will scroll vertically.
  7. In this example, we want the scroll bar to scroll vertically.
1.2.2 Configure The Scroll Bar Control Settings.
  1. Right-click the scroll bar, then click the Format Control… menu item in the popup menu list to pop up the Format Control dialog window.
  2. It will select the Control tab by default, if not, you should click the Control tab to display the scroll bar settings tab. You can configure the scroll bar properties in this tab.
  3. The scrollbar control has an integer number value property, when you scroll the scrollbar, the integer value will be changed also.
  4. You can set the scroll bar’s current integer number value in the Current value input text box, it usually is 0 or 1 when you design the scrollbar.
  5. The Minimum value text box can be used to configure the minimum integer value that the scroll bar starts to scroll.
  6. If you set the Minimum value text box to 5 then the beginning of the scrollbar number value is 5.
  7. The Maximum value text box is used to set the maximum integer number of the scrollbar.
  8. If you set the Maximum value text box to 10 then the ending of the scrollbar number value is 10.
  9. The Incremental change text box is used to set the step number when you scroll the scrollbar, if you set its value to 1, then the scrollbar’s current value number will add 1 when you scroll down the scroll bar for one step.
  10. The Page change text box contains the number value that will be added or minus from the scrollbar’s current number value when you click the area between the scrollbar’s up and down arrows.
  11. The last text box Cell link should contain an absolute cell address such as $D$3 ( you can input any cell’s absolute address in it ).
  12. When you scroll the scroll bar, the scrollbar’s current value ( an integer number ) will be stored in the cell that you input in the cell link text box.
1.2.3 Use ScrollBar To Scroll Data Cells.
  1. In this example, we want to display only 6 months in the scroll list.
  2. And then show other months in the list accordingly when you scroll the scroll bar.
  3. Input the formula =OFFSET(A3,$D$3,0) in cell C4.
  4. Click to select cell C4 and mouse over the small square in the bottom right corner of cell C4.
  5. When the mouse pointer is changed to a black cross icon, click the mouse pointer and drag it to cell C9.
  6. You can adjust the scrollbar’s height to the same height as between cell C4 to cell C9.
  7. It will add formulas in other cells of the cell range C4:C9.
  8. Select one cell such as cell C6, the formula in cell C6 is =OFFSET(A5,$D$3,0).
  9. The OFFSET function will return the target cell value.
  10. The target cell starts from cell A5 and moves $D$3 number of rows and 0 columns.
  11. We know that cell $D$3 contains the scrollbar’s current value number, so if the scrollbar’s current value number is 1, then the OFFSET function will return the value of cell A6.
  12. So it will display the text March ( from cell A6 ) in cell C6.
  13. Now when you scroll the scrollbar, the scrollbar’s current number value is changed, you can see this in cell $D$3.
  14. And each cell in cell range C4:C9 will recalculate the formulas in the cell and get and show the new text from cell range A4:A15 accordingly.
  15. Then you will find the text in cell range C4:C9 scroll up and down when the scrollbar scroll.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.