Extract list of people

ashani

Active Member
Joined
Mar 14, 2020
Messages
345
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm looking to extract list of staff and filter it to the higher sales volume.

In column C I have around 1000 staff name and D their team names

In Column A1 I have a team name so when I enter Team name, it should bring all the staff names down. I have used Unique Filter formula but it doesn't allow me to filter staff by number, so any other formula will be really helpful.

Many thanks,
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Your problem is unclear (to me). Put a snapshot of your file with sample data and your attempt at a formula via xL2BB and it is more likely to get a response.
 
Upvote 0
Can you posted some sampled data, along with expected results.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
MOCK_DATA.xlsx
ABC
1Lookupfirst_nameDepartment
2MarketingValenkaAccounting
3HadleyServices
4ChaseResearch and Development
5TrevarLegal
6GussieMarketing
7EdikMarketing
8KinSupport
9GaleSupport
10DirkMarketing
11IolandeAccounting
12AmelinaTraining
13SonjaResearch and Development
14MoseBusiness Development
15CloSales
16BrearSupport
17RubenLegal
18HoldenTraining
19StanislasEngineering
20PeggiSales
21WilleyServices
22AugustResearch and Development
23KaroleBusiness Development
24DoretteSales
25CallieSupport
26PattiSupport
27JanelHuman Resources
28SellaSales
29HadriaHuman Resources
30KrystynaResearch and Development
31ElayneTraining
32EvelinaHuman Resources
33TheaAccounting
34NolanaTraining
35BarclayProduct Management
36BarrisLegal
37CarrollProduct Management
38JosyServices
39AllinSupport
40ArynSupport
41AdlerLegal
42KipProduct Management
43TrudyResearch and Development
44JanetHuman Resources
45CariResearch and Development
46AguieSales
47CaryMarketing
48LeonieAccounting
49StephiTraining
50SelenaEngineering
51SharonaLegal
data
Cells with Data Validation
CellAllowCriteria
A2List=$P$3:$P$14


Load A1:A2 to Power Query. In Power Query Editor, right click on A2 and select Drill Down. Close and Load to connection.

Load your table B:C to Power Query. In PQ Editor, filter for any department. In the M code for the filter line, change the department to Table1 (assumes the first mini table loaded is named Table 1)

Close and Load your Table to a new worksheet. Click on Refresh All with every change in filtering.

first_nameDepartment
GussieMarketing
EdikMarketing
DirkMarketing
CaryMarketing
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,849
Members
449,096
Latest member
Erald

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top