# Dynamic Maximum Value for Scrollbar (Form)

#### joetogo

##### New Member
Hi team,

I'm trying to set a max limit on my Form Scrollbars (I have 4 unique named scrollbars on sheet "dash_v2").

I have COUNTIFS formulas (in cells) on sheet "dash_v1" calculating total references, i.e. 2 of this, 31 of that etc...
Those references are the numbers I'd like to use as a maximum scroll limit on the bars on "dash_v2"

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Sheet "dash_v1"

The COUNTIFS formula is below:
=COUNTIFS(table!\$A\$1:\$A\$69,control!\$A\$6,table!\$D\$1:\$D\$69,"Mobile")

The OFFSET formula is below:
=OFFSET(control!E2:E40,control!\$C\$2,0,1,1)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Sheet "dash_v2"

4 x Scroll bars (Form)
I'm using "=CELLREF" to pull data from dash_v1 without having to enter formulas i.e. Total's (countifs) and Offset (scrollable data)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I've seen some solutions including vba but mainly where all the data and references reside in a single sheet. Can anybody please
help?

### Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Replies
7
Views
242
Replies
1
Views
76
Replies
0
Views
532
Replies
5
Views
423
Replies
2
Views
310

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,152,194
Messages
5,768,776
Members
425,492
Latest member
blueexcel123

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back