I have a function in which I am calculating In Stock % over a certain period of selected days. It is currently ranked on the past 45 days of sales and only returns if the items fall in the top 2000 items. What i need is to rank based on whether an item is in the top 80% of the sales over that same period.