Calculating Quartiles

heimdaloz

New Member
Joined
Feb 1, 2018
Messages
10
I have a list of data contain approximately 800 rows and about 15 columns. I have been asked to show the quartile and value falls into, in a particular column. I know how to calculate the quartile values but don't know how I put a flag against each value to indicate which quartile it falls into? I have to do this for 4 of the columns. The columns represents score on a survey.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Difficult with any sample data - could you post a sample of your data using the XL2BB add in, or alternatively share your file via Google Drive, Dropbox or similar file sharing platform? In the meantime, here's a small sample of what you might be looking for?
quartiles.xlsm
ABCDEFGHIJK
1Value 1QuartileValue 2QuartileValue 3QuartileValue 4QuartileQuartileValue
2272nd944th322nd392nd1st0
3573rd41st874th663rd1st25.75
4613rd944th924th432nd2nd50
5131st462nd272nd131st3rd69.25
6382nd874th81st272nd4th100
7683rd904th91st744th
8282nd81st754th704th
9563rd442nd161st724th
10914th442nd51st21st
11402nd342nd181st282nd
12693rd262nd221st292nd
13392nd513rd181st452nd
14503rd513rd974th231st
15884th814th292nd724th
16764th1004th121st533rd
17533rd251st583rd724th
18994th704th292nd211st
19262nd653rd372nd151st
20693rd81st974th111st
Sheet2
Cell Formulas
RangeFormula
K3K3=QUARTILE($A:$A,1)
K4K4=QUARTILE($A:$A,2)
K5K5=QUARTILE($A:$A,3)
K6K6=QUARTILE($A:$A,4)
B2:B20,H2:H20,F2:F20,D2:D20B2=IF(A2=MAX($K$2:$K$6),"4th",LOOKUP(A2,$K$2:$K$6,{"1st","2nd","3rd","4th"}))
Named Ranges
NameRefers ToCells
myRange=Sheet2!$A$2:$A$101,Sheet2!$C$2:$C$101K3:K6, B2
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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