formula for drop down menu?

plpl78

Board Regular
Joined
May 8, 2009
Messages
87
IN cell G1 i have a number that changes every two weeks currently that number is eleven.

In A19 i have a drop down menu starting at one and going to twenty six.

Is there a way i can set the drop down menu to start at the current number based off the number in G1?

Example of the data in G1 is five then when i click on the drop down in A19 it would start at five instead of 0

Thank you for all your help
 
Then do Exactly as I illustrated in Post #7 above.

Put =Sheet1!G1 in C2
Put =C2+1 in C3
Copy C3 formula all the way down to C27

Now whenever G1 of Sheet1 changes, your drop down in A19 Will Start with That number.
 
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
May be you mean you Always want the "revolving" numbers 1 to 26, if that's that case use the following updated formulas, still follow the instructions in my post #11 above:


Book1
C
1
211
312
413
514
615
716
817
918
1019
1120
1221
1322
1423
1524
1625
1726
181
192
203
214
225
236
247
258
269
2710
Sheet2
Cell Formulas
RangeFormula
C2=IF(Sheet1!G1<=26,Sheet1!G1,1)
C3=IF(C2+1>26,1,C2+1)


But wondering, what's supposed to happen when Week 27 and higher comes around?
 
Upvote 0
at the end of week 26 it will revert back to week 1 i just need to update a different section on sheet 2 for the update to happen put that part i understand lol
 
Upvote 0
Yes and no. When i did as you said it got the drop down working like i wanted but it broke another drop down menu. When u go into A19 and select the current week say 11 it was set up originally as eleven. because i changed it to 11 it broke the INDIRECT i had set up

The way it works now is you select the week so in this case eleven it then does the indirect, it finds the named ranged 11 on sheet 2 and displays two weeks worth of dates in the 2nd drop down (which is now the broken one)

I tried to rename the range from eleven to 11 but it wouldn't let me
 
Upvote 0

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top