Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to calculate the  QUARTILE ?

Posted on 2016-10-05
5
Medium Priority
?
73 Views
Last Modified: 2016-10-10
How can I calculate the QUARTILE into 5 section for example QUARTILE(B2:B50,5)

1   < .2
2   < .4
3   < .6
4   < .8
5   < 1
0
Comment
Question by:Bharat Guru
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:Missus Miss_Sellaneus
ID: 41830323
You can use the PERCENTILE function instead. You can use PERCENTILE(array,.2), PERCENTILE(array,.4), etc.

In which case they are quintiles (if that's what they're called), not quartiles.
0
 
LVL 12

Expert Comment

by:Missus Miss_Sellaneus
ID: 41830331
=PERCENTILE(B2:B50,5)
0
 

Author Comment

by:Bharat Guru
ID: 41830440
I want to get the result like 1 , 2 , 3 , 4 or 5 base on

case   if cell("B2").value is < PERCENTILE(B2:B50 , .2 )
      1
case   if cell("B2").value is < PERCENTILE(B2:B50 , .4 )
      2
case   if cell("B2").value is < PERCENTILE(B2:B50 , .6 )
      3
case   if cell("B2").value is < PERCENTILE(B2:B50 , .8 )
      4
case   if cell("B2").value is < PERCENTILE(B2:B50 , 1 )
      5
0
 
LVL 12

Accepted Solution

by:
Missus Miss_Sellaneus earned 2000 total points
ID: 41830975
Like this?

=IF(B2<PERCENTILE(B2:B50,0.2),1,IF(B2<PERCENTILE(B2:B50,0.4),2,IF(B2<PERCENTILE(B2:B50,0.6),3,IF(B2<PERCENTILE(B2:B50,0.8),4,5))))
0
 

Author Closing Comment

by:Bharat Guru
ID: 41836943
Thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

636 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