Counting data for package mix anaylsis

Angliojoe

Board Regular
Joined
Oct 28, 2011
Messages
61
Hello Again :)

Hello All,
I have been having a lot of trouble with excel (Ive already posted on here today:).

I have a question regarding counting data. I have a spread sheet as shown below, right now it only has Cart and package fields. My boss has asked me to produce a package mix chart so I was thinking if I can get the amount of each type of package on the same row I could then calculate percentages and do the chart which would be great :)

My major issue is that I have no idea how to do this. What kind of formula would I use in the columns that I’ve mocked up in the image?

Any help would be greatly appreciated,

Joe.



Cart.png
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
If you just have the Cart and Package columns (A & C) you can use a pivot table to give you exactly what you are looking for.
 
Upvote 0
Whats a pivot table? There is other data but this is the only relevant data to the cart and its contents, the other is just stock related.

Joe,
 
Upvote 0
Ive just checked and I dont think that a pivot data would help in this case. Basically I have a list of around a thousand carts and the packages they ordered and I need to be able to split the data so I find out out of all the thousand or so carts, what was the average mix of products.

If it was a number I would of thought I could use SUMIF in some way but due to it being text im lost.
 
Upvote 0
If you have the two columns and create a pivot table from them you will get;

Carts down the rows, Package types across the top
Count of the intersections (you may need to change the aggregation type in the data range)

By default the pivot table will also include total columns.

the average product mix will be the ratio of basic to bargain to standard to ultimate.

e.g. if the totals are 2000,1000,1500,500 and there are 1000 carts then the average product mix will be 2 basic, 1 bargain, 1.5 standard and 0.5 Ultimate

Or am I missing something?
 
Upvote 0

Forum statistics

Threads
1,224,315
Messages
6,177,845
Members
452,810
Latest member
jeffrey0409

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