tomvangelder12
New Member
- Joined
- Mar 10, 2016
- Messages
- 4
Dear all,
I'm working on a data set which consists of suppliers, the differentproduct they sell and the amount of money corresponding to each productgroup.
My goal:
Count the amount of different productgroups each supplier has.
In Column A you can find both the suppliers and productgroups. Bold is the supplier, not bold are the product groups.
In column B you can find the amount of money a supplier has supplied, and the amount of money each productgroup consists of. the sum of the productgroups, below 1 supplier, is equal to the amount of money corresponding to the supplier.
column C should show the amount of productgroups next to each supplier.
The full data set consists of about 3000 cells, which makes me want to automate this.
Im looking for a formule which I could place in cell C3 and then pull down all the way to the end showing the amount of productgroups next to each supplier
The amount of productgroups corresponding to the suppliers is completely random and can vary between 1 to approximately 500.
Thanks for the help already!
How it should look:
[TABLE="width: 394"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]Supplier 1[/TD]
[TD] € 588,29[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Snacks[/TD]
[TD] € 588,29[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Supplier 2[/TD]
[TD] € 96,52[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD] Sodas[/TD]
[TD] € 74,80[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Tea[/TD]
[TD] € 21,72[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Supplier 3[/TD]
[TD] € 561,94[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD] Cleaning stuff[/TD]
[TD] € 309,63[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Cooling components[/TD]
[TD] € 189,14[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Kitched stuff[/TD]
[TD] € 51,45[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Office supplies[/TD]
[TD] € 8,77[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Office supplies 2[/TD]
[TD] € 2,95[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm working on a data set which consists of suppliers, the differentproduct they sell and the amount of money corresponding to each productgroup.
My goal:
Count the amount of different productgroups each supplier has.
In Column A you can find both the suppliers and productgroups. Bold is the supplier, not bold are the product groups.
In column B you can find the amount of money a supplier has supplied, and the amount of money each productgroup consists of. the sum of the productgroups, below 1 supplier, is equal to the amount of money corresponding to the supplier.
column C should show the amount of productgroups next to each supplier.
The full data set consists of about 3000 cells, which makes me want to automate this.
Im looking for a formule which I could place in cell C3 and then pull down all the way to the end showing the amount of productgroups next to each supplier
The amount of productgroups corresponding to the suppliers is completely random and can vary between 1 to approximately 500.
Thanks for the help already!
How it should look:
[TABLE="width: 394"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]Supplier 1[/TD]
[TD] € 588,29[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD] Snacks[/TD]
[TD] € 588,29[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Supplier 2[/TD]
[TD] € 96,52[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD] Sodas[/TD]
[TD] € 74,80[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Tea[/TD]
[TD] € 21,72[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Supplier 3[/TD]
[TD] € 561,94[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD] Cleaning stuff[/TD]
[TD] € 309,63[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Cooling components[/TD]
[TD] € 189,14[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Kitched stuff[/TD]
[TD] € 51,45[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Office supplies[/TD]
[TD] € 8,77[/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Office supplies 2[/TD]
[TD] € 2,95[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]