Quartile and Deciles in Excel

thisisrahul

Active Member
Joined
Sep 2, 2008
Messages
285
Hi,
I want a function in Excel that gives me quartile position (e.g. Q1, Q2, Q3 and Q4) or Decile position (e.g. D1, D2 ets) of a number in the data set.

for example in the given data set
1,2,3,4,2,7

1 belongs to Q1
7 belongs to Q4

similar for Decile also.

I also want a way where i can define if Higher is better or Lower is better.


any VBA help is welcome.


__________
Rahul
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
thanks mole999, this is very close to what i want.
i can derive my result from the help that you provided.
 
Upvote 0
mole999,
is there a way by which i can reverse the sequence of quartile.
say lowest value belong to Q4.
 
Upvote 0
Pure speculation 1,2,3,4 to 4,3,2,1 maybe (I don't actually know that's what it will show)
 
Upvote 0

Forum statistics

Threads
1,215,545
Messages
6,125,448
Members
449,227
Latest member
Gina V

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top