Possible Decile Question

Flinger

New Member
Joined
Feb 24, 2011
Messages
3
I have a data set with the following data...

InvoiceNumber, BarrelsSold, PricePerBarrel

On a separate tab I want to break PricePerBarrel into deciles like so...


5% of total barrels sold were less than X price per barrel
15% of total barrels sold were less than X price per barrel
25% of total barrels sold were less than X price per barrel
35% ...
45% ...
55% ...
65% ...
75% ...
85% ...
95% ...

I know this is probably super easy, I just can't wrap my head around it. To make things harder, I can't really sort the data into ascending price per barrel or barrels sold.

I tried doing a simple percentile function like =PERCENTILE(C1:C50,.05) but as you can imagine it didn't take into account the number of barrels sold so it wasn't weighted correctly.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I don't think you are going to get a table looking like that easily. I'd recommend looking at the Frequency function to show sales per price bucket, or use a pivottable to see how sales vary by price.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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