Hi,
I'm new here and staring off with a hard one, I've had a look but found nothing to help me with this one yet.
I have a list of departments and a second list of jobs within each department.
As below.
dept Title
Dept1 sales mr
Dept1 sales ast
Dept1 sales admin
Dept1 sales team leader
Dept1 sales
Dept2 direct accouts
Dept2 direct accouts
Dept2 store accounts
Dept2 supplier accounts
Dept2 general accounts
I then have a cell with the value Dept1 in and have a dropdown box that uses =indirect(Dept1), (where dept1 is a referance to a cell) to show only the 5 options for jobs that people in dept1 can have. This then picks up all the jobs from the named range dept1 and works fine.
What I need to do is import a list of departments and jobs on a regular basis, it is a long list and I would to have the named ranged defined by the dept column, so it can be dynamic.
If you know of a better way of doing this, maybe a sort of vlookup in the data validation drop down or something that would be fine it the named range thing wont work.
I have attached a file showing this if its any help.
Its just a methord of getting the drop down to work based on a selected part of a long list.
I am an ameture at VBA but can knock a bit of code so if thats my best bet let me know.
Thanks for any help in advance.
Harry P
Bookmarks