Here's an approch that uses:
Excel Tables
Calculated Name
It's actually easier that the instructions might imply
(I'd attach a file, but my company firewall doesn't allow it)
In this example, there are 2 tabs
- MgrSheet
- Lists
On the lists tab, I created this list in A1:D13
• Select that list
• Home.Format-as-table...Select a style...follow the prompts
• From the TableTools ribbon tab, rename the table to: tblMgrTeam
• Enter this formula in the first cell under the Start heading (C2)
• Enter this formula in the first cell under the Count heading (D2)
=IF(tblMgrTeam[[#This Row],[Start]]<>"",COUNTIF([Mgr],tblMgrTeam[[#This Row],[Mgr]]),"")
After Excel automatically propagates those formulas down the table rows, the table will have these values:
Now...on the MgrSheet tab
A1: the name of a manager (as it appears in the tblMgrTeam table)...Dave
• Formulas.Name_Manager...Click: New
Name: MgrTeamList
Refers to:
...Click: OK
Create a data validation on cell A2
• Data.Validation.Validation
Allow: List
Source: =MgrTeamList
...Click: OK
Now, whenever the mgr name changes in A1, the name "MgrTeamList" fomrula will find that name in the tblMgrTeam and create a list of team members for that manager. That list will appear in the data validation dropdown.
You could also attach some event code to the manager name that clears the dropdown selection whenever the manager name changes.
Is that something you can work with?
Bookmarks