Separate Customer List by Salespersons

mba_110

Board Regular
Joined
Nov 28, 2012
Messages
80
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I did try Vlookup but its not working, since there is 5 columns as reference for lookup value to select the customer for salesperson it is difficult for me to select which formula can work perfect.

This is the sheet look like for each salesperson, it should have formula in all columns to show their customer list and its information list on columns. If this salesperson's name appeared in main datasheet column E to I then he should have that customer in his list with all details in this sheet.

All Customers List.xlsx
BCDE
5CUSTOMER LISTSalesperson Sorat Balouch
6
7S.NOCUSTOMER NAMECITYPAYMENT TERMS
8
91
102
113
124
135
146
157
168
Sorat


This is Main Datasheet holding all customer data, here you will see we have multiple salesperson for each customers by the name Class 1, Class 2, Class 3, Class 4, Class 5.

All Customers List.xlsx
ABCDEFGHI
7S.NOCUSTOMER NAMECITYPAYMENT TERMSCLASS - 1CLASS - 2CLASS - 3CLASS - 4CLASS - 5
8
9111/11 Aesthetic ClinicDubaiTaymaa BakirSorat BalouchFillers
1024 U Medical Center - Sole Proprietorship L.L.CAl AinHashem Birini
1137D Medical Center LLC - Sole Proprietorship LLCAbu DhabiTaymaa Bakir
124A G Care Medical Center FZCODubaiTaymaa Bakir
135A H T Aesthetic Medical CenterDubaiTaymaa Bakir
146Abeer Al Noor Poly Clinic L.L.CDubaiSorat Balouch
157Acacia Advanced Medical Center LLCAbu DhabiHashem Birini
168Acacia Medical CenterAbu DhabiHashem Birini
179ACG-NSCDubaiOfficeFillers
1810Adam & Eve Specialized Medical Centre LLC -BranchAbu DhabiHashem BiriniTony Othman
1911AdvanceMed Aesthetic ClinicDubaiTaymaa BakirSorat Balouch
Summary



I want to create sperate sheet for each salesperson with his customer list, no matter any customer appear twice in multiple salesperson's list, the most important is that salesperson should have customers that his name is mentioned in main Datasheet's any of class column from 1 to 5.

Any help will be much appreciated.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Try:

Book1
BCDE
5CUSTOMER LISTSalespersonSorat Balouch
6
7S.NOCUSTOMER NAMECITYPAYMENT TERMS
8
9111/11 Aesthetic ClinicDubai0
106Abeer Al Noor Poly Clinic L.L.CDubai0
1111AdvanceMed Aesthetic ClinicDubai0
Sorat
Cell Formulas
RangeFormula
B9:E11B9=FILTER(Summary!A9:D19,MMULT(--(Summary!E9:I19=E5),{1;1;1;1;1}))
Dynamic array formulas.


Make sure that the spelling of the salesperson's names all match, including any spaces. I needed to take some spaces out so that it would work.
 
Upvote 0
Try:

Book1
BCDE
5CUSTOMER LISTSalespersonSorat Balouch
6
7S.NOCUSTOMER NAMECITYPAYMENT TERMS
8
9111/11 Aesthetic ClinicDubai0
106Abeer Al Noor Poly Clinic L.L.CDubai0
1111AdvanceMed Aesthetic ClinicDubai0
Sorat
Cell Formulas
RangeFormula
B9:E11B9=FILTER(Summary!A9:D19,MMULT(--(Summary!E9:I19=E5),{1;1;1;1;1}))
Dynamic array formulas.


Make sure that the spelling of the salesperson's names all match, including any spaces. I needed to take some spaces out so that it would work.
Thank you very much for help.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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