Hello, and thanks for clicking into my posting. I am hoping that someone can offer some guidance with what I am trying to achieve. I am admittedly an excel novice, so I am having a difficult time finding a solution.
The sample data below (beginning from column C) is pulled into a workbook (there are dozens of columns and about 1,000 rows). Except for the true/false column - data in other columns contain repeated values and blanks. My goal is to create a dynamic table in a separate worksheet, based on the data associated with specific manager names. The values should change based on the name selected from a drop down.
Manager names can appear in any of the name columns. To get the manager names into one column, I created a helper column with the following array formula (credit to exceljet website): =INDEX(range2,MATCH(TRUE,COUNTIF(range1,range2)>0,0)) / where range1 = row search range and range 2 = named range 'Managers'
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Manager (helper)[/TD]
[TD]TRUE/FALSE[/TD]
[TD]Name1[/TD]
[TD]NAME2[/TD]
[TD]CATEGORY[/TD]
[TD]NAME3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]AA[/TD]
[TD]TRUE[/TD]
[TD]AA[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]BB[/TD]
[TD]TRUE[/TD]
[TD]BB[/TD]
[TD][/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]CC[/TD]
[TD]TRUE[/TD]
[TD][/TD]
[TD]CC[/TD]
[TD]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]AA[/TD]
[TD]FALSE[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]AA[/TD]
[/TR]
</tbody>[/TABLE]
Question 1: is there a non-array formula that I can use in the helper column that would achieve the same result?
Question 2: what formula would be required to extract a unique distinct list from the 'Categories' column, sorted by count of occurrence (highest to lowest), and exclude blanks, based on drop down selection (manager name)? This will help me create the rest of the desired table, which will include additional columns/formulas (pivots would not work in my case).
Thank you in advance for any guidance that you can offer.
The sample data below (beginning from column C) is pulled into a workbook (there are dozens of columns and about 1,000 rows). Except for the true/false column - data in other columns contain repeated values and blanks. My goal is to create a dynamic table in a separate worksheet, based on the data associated with specific manager names. The values should change based on the name selected from a drop down.
Manager names can appear in any of the name columns. To get the manager names into one column, I created a helper column with the following array formula (credit to exceljet website): =INDEX(range2,MATCH(TRUE,COUNTIF(range1,range2)>0,0)) / where range1 = row search range and range 2 = named range 'Managers'
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Manager (helper)[/TD]
[TD]TRUE/FALSE[/TD]
[TD]Name1[/TD]
[TD]NAME2[/TD]
[TD]CATEGORY[/TD]
[TD]NAME3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]AA[/TD]
[TD]TRUE[/TD]
[TD]AA[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]BB[/TD]
[TD]TRUE[/TD]
[TD]BB[/TD]
[TD][/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]CC[/TD]
[TD]TRUE[/TD]
[TD][/TD]
[TD]CC[/TD]
[TD]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]AA[/TD]
[TD]FALSE[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]AA[/TD]
[/TR]
</tbody>[/TABLE]
Question 1: is there a non-array formula that I can use in the helper column that would achieve the same result?
Question 2: what formula would be required to extract a unique distinct list from the 'Categories' column, sorted by count of occurrence (highest to lowest), and exclude blanks, based on drop down selection (manager name)? This will help me create the rest of the desired table, which will include additional columns/formulas (pivots would not work in my case).
Thank you in advance for any guidance that you can offer.