See attached.
Steps taken:
1. Created Lists containing unique locations and sublocations in columns CA and CB of Sheet2.
2. Named these ranges "dynamically" through Insert|Name|Define (you can add to the lists in CA and CB and the dynamic range will expand to include those).
Named Ranges:
LocationUnit:
LocationSubUnit:
3. Created drop down lists in A1 and B1 of Sheet1 using List and the dynamic named ranges.
4. Created a helper column that concatenates columns L and M of Sheet2.
5. Created a count in E1 of Sheet 1 using formula:
which counts number of matches in Sheet2 based on criteria in A1 & B1
6. Created formula in A3 of Sheet1:
This is an array formula and must be confirmed with CTRL+SHIFT+ENTER not just ENTER.. and then it can be copied down as far as you want down the column.
This fetches matching items from column A of the Sheet2.
You may need to change the range bottom from $1000 to whatever you need...but you must reconfirm with CSE keys before copying down.
7. Created formula in B3 of Sheet1:
normally Entered and copied down and across remainder of the table.. no need for row adjustments... this fetches remaining items without using array formulas.
Bookmarks