Locate the sales figure closest to the 80th and 90th percentile

m5edward

New Member
Joined
Jul 20, 2016
Messages
42
Hi Everyone,

I work for a retailer and want to know how many weeks it took each store to reach 80% and 90% of their highest recorded weekly sales.

To find the 80% and 90% mark for each store I used the '=percentile' function.

My data is laid out like the example below. The grey side is the store number and statistical measures. The blue side is the sales data. Week of operations in the top row and sales below it.

What would you do if you were me?

1650481659097.png
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Take store 10 for example.

267711 is the highest recorded weekly sales figure.

214168.80 is 80% of this.

Are you after the first week in which they managed to turn over 214168.80 or more?
 
Upvote 0
I should've mentioned that there are upwards of 150 weeks, but I am only showing 13 weeks.

Let's say that for store 10, the 80th percentile worked out to 226,378. 226,342 is the closest number to that and occurs in week 5. How do I return the number 5?
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,195
Members
452,616
Latest member
intern444

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