Need help creating a table and classifying values which appear more than once

fori_gump

New Member
Joined
Apr 6, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
SellersType of goodAmountCompany
Dave MurrayNews99BBC
Jack AndersonFood123Sainsbury's
Dave MurrayClothes12222Gucci
Bob DavisClothes145LV
Lisa ThompsonFood553Tesco
Jack AndersonTech23TEC
Lisa ThompsonTech99Netflix
Dave MurrayTech448AmazonPrime
Dave MurrayClothes5721HugoBoss
Bob DavisFood1239Volvic
Lisa ThompsonCars42923Mercedes
Dave MurrayCars824Nissan
Jack AndersonCars1224Fiat
Dave MurrayNews232ITV
Dave MurrayClothes2222HM
Dave MurrayClothes111Balenciaga
Lisa ThompsonCars69BMW
Lisa ThomsonFood2222Morrisons
I need to create a list which shows each seller and how many sales they have for each type of good, but for instance as Dave Murray sales clothes for two different companies, i would need his name to appear only once and show the total for all clothes he sells and so on. l I need the formula which can be used to do this.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
A pivot table would do that for you very easily
Book6
ABCDEFGHI
1SellersType of goodAmountCompanyRow LabelsSum of Amount
2Dave MurrayNews99BBCBob Davis1384
3Jack AndersonFood123Sainsbury'sClothes145
4Dave MurrayClothes12222GucciFood1239
5Bob DavisClothes145LVDave Murray21879
6Lisa ThompsonFood553TescoCars824
7Jack AndersonTech23TECClothes20276
8Lisa ThompsonTech99NetflixNews331
9Dave MurrayTech448AmazonPrimeTech448
10Dave MurrayClothes5721HugoBossJack Anderson1370
11Bob DavisFood1239VolvicCars1224
12Lisa ThompsonCars42923MercedesFood123
13Dave MurrayCars824NissanTech23
14Jack AndersonCars1224FiatLisa Thompson43644
15Dave MurrayNews232ITVCars42992
16Dave MurrayClothes2222HMFood553
17Dave MurrayClothes111BalenciagaTech99
18Lisa ThompsonCars69BMWLisa Thomson2222
19Lisa ThomsonFood2222MorrisonsFood2222
20(blank)
21(blank)
22Grand Total70499
23
24
Sheet1
 
Upvote 0
Hi & welcome to MrExcel.
How about

+Fluff.xlsm
ABCDEFGH
1SellersType of goodAmountCompany
2Dave MurrayNews99BBCDave MurrayNews331
3Jack AndersonFood123Sainsbury'sJack AndersonFood123
4Dave MurrayClothes12222GucciDave MurrayClothes20276
5Bob DavisClothes145LVBob DavisClothes145
6Lisa ThompsonFood553TescoLisa ThompsonFood553
7Jack AndersonTech23TECJack AndersonTech23
8Lisa ThompsonTech99NetflixLisa ThompsonTech99
9Dave MurrayTech448AmazonPrimeDave MurrayTech448
10Dave MurrayClothes5721HugoBossBob DavisFood1239
11Bob DavisFood1239VolvicLisa ThompsonCars42992
12Lisa ThompsonCars42923MercedesDave MurrayCars824
13Dave MurrayCars824NissanJack AndersonCars1224
14Jack AndersonCars1224FiatLisa ThomsonFood2222
15Dave MurrayNews232ITV
16Dave MurrayClothes2222HM
17Dave MurrayClothes111Balenciaga
18Lisa ThompsonCars69BMW
19Lisa ThomsonFood2222Morrisons
Sheet1
Cell Formulas
RangeFormula
F2:G14F2=UNIQUE(A2:B19)
H2:H14H2=SUMIFS($C$2:$C$19,$A$2:$A$19,F2,$B$2:$B$19,G2)
Dynamic array formulas.
 
Upvote 0
A pivot table would do that for you very easily
Book6
ABCDEFGHI
1SellersType of goodAmountCompanyRow LabelsSum of Amount
2Dave MurrayNews99BBCBob Davis1384
3Jack AndersonFood123Sainsbury'sClothes145
4Dave MurrayClothes12222GucciFood1239
5Bob DavisClothes145LVDave Murray21879
6Lisa ThompsonFood553TescoCars824
7Jack AndersonTech23TECClothes20276
8Lisa ThompsonTech99NetflixNews331
9Dave MurrayTech448AmazonPrimeTech448
10Dave MurrayClothes5721HugoBossJack Anderson1370
11Bob DavisFood1239VolvicCars1224
12Lisa ThompsonCars42923MercedesFood123
13Dave MurrayCars824NissanTech23
14Jack AndersonCars1224FiatLisa Thompson43644
15Dave MurrayNews232ITVCars42992
16Dave MurrayClothes2222HMFood553
17Dave MurrayClothes111BalenciagaTech99
18Lisa ThompsonCars69BMWLisa Thomson2222
19Lisa ThomsonFood2222MorrisonsFood2222
20(blank)
21(blank)
22Grand Total70499
23
24
Sheet1
Thank I think a pivot table is best.If i now wanted to use the data from the pivot table for another task, for instance if these sellers were awarded bonuses for their sales. Assuming there is another table which shows the different thresholds for bonuses, so 1000-3000 sales = £1000 and 4000-10000= £3000 and so on, what formula could i use to allocate bonuses to all these salesman
?
 
Upvote 0
you can use a calculated field to add that - BUT may need to hardcode the IF() SO need to know all the values and amounts
have a look at this video, very quick
 
Upvote 0
you can use a calculated field to add that - BUT may need to hardcode the IF() SO need to know all the values and amounts
have a look at this video, very quick
Thank you so much!
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,304
Members
452,633
Latest member
DougMo

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