Quartile and Deciles in Excel

thisisrahul

Active Member
Joined
Sep 2, 2008
Messages
287
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
 
thanks mole999, this is very close to what i want.
i can derive my result from the help that you provided.
 
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

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