Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Rank percentile from list of data

Posted on 2013-11-08
2
Medium Priority
?
283 Views
Last Modified: 2013-11-11
Hi,

I have a column of data, some rows are 0, some are not.

I want some formula that will sum the data and return the data amount that falls in the top 1% of data, what formula could achieve this?

Many thanks
0
Comment
Question by:Seamus2626
2 Comments
 
LVL 53

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 1000 total points
ID: 39634282
Hi

you could enter an Array formula like this

=PERCENTILE.INC(IF(A2:A5<>0,A2:A5),0.99)

Open in new window

confirmed with CTRL+SHIFT+ENTER

Regards
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 1000 total points
ID: 39634652
Hello Seamus2626,

Perhaps Rgonzo's suggestion will work for you but I think it only gives you the cutoff point. If you want to sum everything above that point as you say then you need to use the percentile within a SUMIF fomula, e.g. if data is in A2:A1000 try

=SUMIF(A2:A1000,">="&PERCENTILE(IF(A2:A1000>0,A2:A1000),0.99))

confirmed with CTRL+SHIFT+ENTER

That assumes you want to exclude zeroes from the calculation.....but you didn't say that, so if zeroes should be included it's just

=SUMIF(A2:A1000,">="&PERCENTILE(A2:A1000,0.99))

which can be entered normally

regards, barry
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question