?
Solved

How to calculate the  QUARTILE ?

Posted on 2016-10-05
5
Medium Priority
?
68 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

752 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