DSCfromCFA
Board Regular
- Joined
- Feb 27, 2018
- Messages
- 151
- Office Version
- 365
- Platform
- Windows
I am using the following formula to alter the length of a Data Validation List:
=OFFSET($N$15,1,0,OFFSET($N$15,M16,0))
The formula only works if the cell in the list that corresponds with the number held in M16 is itself a number. However, the purpose of the list is to select text. All other cells can contain text, and as long as the cell that corresponds with M16 is a number, the validation works, otherwise no selection is possible and even trying to accept the Validation formula results in an message "The Source currently evaluates to an error. Do you want to continue?"
The list is a maximum of 6 rows starting at N16 and the number of rows to make the list is held in M16.
Excel version Microsoft 365 MSO (Version 2412 Build 16.0.18324.20092) 64-bit
What am I missing?
Shane
=OFFSET($N$15,1,0,OFFSET($N$15,M16,0))
The formula only works if the cell in the list that corresponds with the number held in M16 is itself a number. However, the purpose of the list is to select text. All other cells can contain text, and as long as the cell that corresponds with M16 is a number, the validation works, otherwise no selection is possible and even trying to accept the Validation formula results in an message "The Source currently evaluates to an error. Do you want to continue?"
The list is a maximum of 6 rows starting at N16 and the number of rows to make the list is held in M16.
Excel version Microsoft 365 MSO (Version 2412 Build 16.0.18324.20092) 64-bit
What am I missing?
Shane