问题
How to change Excel sheet source dynamically depending on particular values? I am developing an Excel sheet. Depending on one dropdown value, fields of other dropdown should change dynamically.
Suppose I choose one value from dropdown1, dropdown2 should get certain column from "Sheet2" and if I choose another value from dropdown1, dropdown2 should get certain column from suppose "Sheet".
How can I achieve this?
This should be related to Excel formulas I guess.
回答1:
Just follow this tutorial
- Create lists
- Give lists a name
- Use data validation to create dropdown
- Use indirect when creating new data validation
来源:https://stackoverflow.com/questions/33697154/change-sheet-source-dynamically