Hi All,
I've been struggling a bit with a way to solve this issue; I hope that I can explain it well enough. I have multiple lookup sheets (approx. 12) in a workbook that are similar to below (which go down for thousands of rows of data) with Col. D actually being the most unique value. Each worksheet references a different vendor so they must all be on separate sheets as vendors can be added or removed from year to year. However, you must go through the selections of Col. A then Col. B. then Col. C to get the appropriate entries for Col. D. Once the data values are in place there will be no new rows or columns added to the lookup sheets thus no need to make the tables dynamic.
Excel 2007
I've also created named ranges for the above table based on the column header name as well as below to retrieve the unique values.
Excel 2007
There is a data entry sheet in which the user will populate a worksheet like below which category the employee fall into. Col. C, D, E and F are all data validation fields populated from the above forms using OFFSET/MATCH formulas.
Col. C = Unique_Department
Col. D = OFFSET(department,MATCH(C17,department,0),1,COUNTIFS(department,C17),1)
Col. E = OFFSET(department,MATCH(C17&D17,department&group,0),1,COUNTIFS(department,C17,group,D17),1)
Col. F = OFFSET(department,MATCH(C17&D17&E17,department&group&level,0),1,COUNTIFS(department,C17,group,D17,level,E17),1)
Excel 2007
My issues, if you have figured by now, is that the drop downs in Col. D & E on the Data Entry Sheet contain duplicate values based on the selection made in Col. C. Col. C and F work as to be expected. However, what's the best way for me to have the data validation only display the unique values for the selections made in Col. D & E?
Thanks in advance.
I've been struggling a bit with a way to solve this issue; I hope that I can explain it well enough. I have multiple lookup sheets (approx. 12) in a workbook that are similar to below (which go down for thousands of rows of data) with Col. D actually being the most unique value. Each worksheet references a different vendor so they must all be on separate sheets as vendors can be added or removed from year to year. However, you must go through the selections of Col. A then Col. B. then Col. C to get the appropriate entries for Col. D. Once the data values are in place there will be no new rows or columns added to the lookup sheets thus no need to make the tables dynamic.
Excel Workbook | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Department | Group | Level | Job | ||
2 | Legal | Compliance | Analyst | Federal Compliance Analyst | ||
3 | Legal | Compliance | Manager | Federal Compliance Manager | ||
4 | Legal | Compliance | Manager | Corporate Compliance Manager | ||
5 | Legal | General Counsel | Manager | Attorney | ||
6 | HR | Benefits | Manager | Benefits Manager | ||
7 | HR | Benefits | Analyst | Benefits Analyst | ||
8 | HR | Recruiting | Analyst | Recruiting Analyst | ||
9 | Finance | Accounting | Manager | A/P Manager | ||
10 | Finance | Accounting | Manager | A/R Manager | ||
11 | Finance | Accounting | Analyst | A/R Analyst | ||
12 | Finance | Budgeting | Manager | Budgeting Manager | ||
Vendor1 |
I've also created named ranges for the above table based on the column header name as well as below to retrieve the unique values.
Excel Workbook | |||||
---|---|---|---|---|---|
G | H | I | |||
1 | Unique Department | Group | Level | ||
2 | Legal | Compliance | Manager | ||
3 | HR | General Counsel | Analyst | ||
4 | Finance | Benefits | |||
5 | Recruiting | ||||
6 | Accounting | ||||
7 | Budgeting | ||||
Vendor1_Ref |
There is a data entry sheet in which the user will populate a worksheet like below which category the employee fall into. Col. C, D, E and F are all data validation fields populated from the above forms using OFFSET/MATCH formulas.
Col. C = Unique_Department
Col. D = OFFSET(department,MATCH(C17,department,0),1,COUNTIFS(department,C17),1)
Col. E = OFFSET(department,MATCH(C17&D17,department&group,0),1,COUNTIFS(department,C17,group,D17),1)
Col. F = OFFSET(department,MATCH(C17&D17&E17,department&group&level,0),1,COUNTIFS(department,C17,group,D17,level,E17),1)
Excel Workbook | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
15 | Internal | Vendor | ||||||
16 | Name | Job | Department | Group | Level | Job | ||
17 | James Booth | Intellectual Property Counsel | Legal | General Counsel | Manager | Attorney | ||
18 | John Edward | IRS Compliance Counsel | Legal | Compliance | Analyst | Federal Compliance Analyst | ||
19 | Tammy Wilson | College Recruiting Lead | HR | Recruiting | Analyst | Recruiting Analyst | ||
20 | Jennifer Gray | Receipts Manager | Finance | Accounting | Manager | A/P Manager | ||
21 | Adam Lewis | Receipts Manager | Finance | Accounting | Manager | A/R Manager | ||
Data Entry Sheet |
My issues, if you have figured by now, is that the drop downs in Col. D & E on the Data Entry Sheet contain duplicate values based on the selection made in Col. C. Col. C and F work as to be expected. However, what's the best way for me to have the data validation only display the unique values for the selections made in Col. D & E?
Thanks in advance.