Populate Combo Box on Sheet with range of values

psycoperl

Active Member
Joined
Oct 23, 2007
Messages
338
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
  3. Web
I would like to have a combo box drop down that would allow a user to select a date from a specified range (which is based on values selected on the "ToolSettings" sheet, specifically the "Select Admissions Term" value) - the combo box is sitting at "Select Test Date" (B10)


Barmap_File_Org.xlsm
AB
5
6Select Admissions Term
7
8Select Test Cycle Letter Prefix
9
10Select Test Date
11
12
ToolSettings
Cells with Data Validation
CellAllowCriteria
B6List=ValueList!$B$2:$B$27
B8List=ValueList!$A$2:$A$25


The values that I would like to have in the drop down box are based on the ValueList sheet. Where Column B (TermCodes) matches the "Select Admissions Term" value and then the dates from Column I (DateLists) is between the values of AdmTestStart (Column C) and AdmTestEnd (Column D)

Cell Formulas
RangeFormula
C3:C26C3=TEXT(fGetAdmStartDate(B3),"YYYY-MM-DD")
D3:D26D3=TEXT(fGetAdmEndDate(B3),"YYYY-MM-DD")
B4:B26B4=IF(RIGHT(B3,1)="2",LEFT(B3,3)&"9",LEFT(B3,3)+1&"2")
I3I3=C3
I4:I36I4=TEXT(I3+1,"YYYY-MM-DD")


How can I get the values to be in the combo box and then have the results useable by other formulas?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,215,087
Messages
6,123,046
Members
449,092
Latest member
ikke

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