psycoperl
Active Member
- Joined
- Oct 23, 2007
- Messages
- 339
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
- 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)
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)
How can I get the values to be in the combo box and then have the results useable by other formulas?
Barmap_File_Org.xlsm | ||||
---|---|---|---|---|
A | B | |||
5 | ||||
6 | Select Admissions Term | |||
7 | ||||
8 | Select Test Cycle Letter Prefix | |||
9 | ||||
10 | Select Test Date | |||
11 | ||||
12 | ||||
ToolSettings |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B6 | List | =ValueList!$B$2:$B$27 |
B8 | List | =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 | ||
---|---|---|
Range | Formula | |
C3:C26 | C3 | =TEXT(fGetAdmStartDate(B3),"YYYY-MM-DD") |
D3:D26 | D3 | =TEXT(fGetAdmEndDate(B3),"YYYY-MM-DD") |
B4:B26 | B4 | =IF(RIGHT(B3,1)="2",LEFT(B3,3)&"9",LEFT(B3,3)+1&"2") |
I3 | I3 | =C3 |
I4:I36 | I4 | =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?