Solved

How to calculate the  QUARTILE ?

Posted on 2016-10-05
5
50 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
  • 3
  • 2
5 Comments
 
LVL 11

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 11

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 11

Accepted Solution

by:
Missus Miss_Sellaneus earned 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

774 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