Hi guys,
I have a spreadsheet with multiple customers and price they paid for different items.
I am trying to find what percentage they spent on each items Can it be done with vlookup?
Here is an example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Item[/TD]
[TD]Price[/TD]
[TD]Percentage Breakdown[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]apple[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]apple[/TD]
[TD]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]apple[/TD]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]banana[/TD]
[TD]5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]banana[/TD]
[TD]6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]banana[/TD]
[TD]7[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
As you can see, John spent 2/7 of his money on apple and 5/7 on banana.
How can I do this with excel? What formula should I use?
Thank you in advance for support!
I have a spreadsheet with multiple customers and price they paid for different items.
I am trying to find what percentage they spent on each items Can it be done with vlookup?
Here is an example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Item[/TD]
[TD]Price[/TD]
[TD]Percentage Breakdown[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]apple[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]apple[/TD]
[TD]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]apple[/TD]
[TD]4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]banana[/TD]
[TD]5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]banana[/TD]
[TD]6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Amy[/TD]
[TD]banana[/TD]
[TD]7[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
As you can see, John spent 2/7 of his money on apple and 5/7 on banana.
How can I do this with excel? What formula should I use?
Thank you in advance for support!