Hi all,
I'm wondering if there is a way to do a conditional drop-down list, based on data in the cell next to it.
The idea is for simplified expense report. So we have 3 categoreis of expense:
Transportation
T&E
Corporate
So when say cell C3 = Transportation, then cell C4 dropdown should present:
Taxi
Train
Flight
Bus
Rental car
If C3 = T&E it should present:
Meal
Drinks
Client Entertainment
If C3 = Corporate it should present:
Hardware
Software
License
Office Supply
So I use a separate page for lookup of these types, so I can add/reduce them over time if they become irrelevant. But I can only validate them in "C4" either as one giant list, or I have to make C4 for transport, C5 for T&E C6 for Corporate Expenses.
I thought maybe there is a way to add a field in the validation page next to each type, and then take them all but filter on them, but that didn't work in a dynamic way.
Can anyone suggest an elegant and maintainable way for conditional drop-down selection?
Many thanks
Oh, and I prefer to avoid macro and do only in-cell if at all possible. If it can only be done with Macro, then I would use it though.
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."
I'm wondering if there is a way to do a conditional drop-down list, based on data in the cell next to it.
The idea is for simplified expense report. So we have 3 categoreis of expense:
Transportation
T&E
Corporate
So when say cell C3 = Transportation, then cell C4 dropdown should present:
Taxi
Train
Flight
Bus
Rental car
If C3 = T&E it should present:
Meal
Drinks
Client Entertainment
If C3 = Corporate it should present:
Hardware
Software
License
Office Supply
So I use a separate page for lookup of these types, so I can add/reduce them over time if they become irrelevant. But I can only validate them in "C4" either as one giant list, or I have to make C4 for transport, C5 for T&E C6 for Corporate Expenses.
I thought maybe there is a way to add a field in the validation page next to each type, and then take them all but filter on them, but that didn't work in a dynamic way.
Can anyone suggest an elegant and maintainable way for conditional drop-down selection?
Many thanks
Oh, and I prefer to avoid macro and do only in-cell if at all possible. If it can only be done with Macro, then I would use it though.
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."