# Dividing Rankings into Quarters

#### nirvehex

##### Active Member
Hi,

I have a list of letters that are ranked in unique alphabetical order.

 I-H-H 27 I-H-H 27 A-A-A 1 J-I-J 47 J-H-H 41 J-I-I 46

<tbody>
</tbody>

What I'm trying to put in the third column is what quarter they fall into. Note this list is longer and goes 1-52. So each quarter would be 13 numbers. Q1 = 0-13, Q2 = 14-26, Q3=27-39, Q4 = 40-52.

How do I write a formula that puts their quarter in column 3?

Thanks all!

### Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

#### Marcelo Branco

##### MrExcel MVP
Maybe....

 A​ B​ C​ 1​ Letters​ Rank​ Quarter​ 2​ I-H-H​ 27​ Q3​ 3​ I-H-H​ 27​ Q3​ 4​ A-A-A​ 1​ Q1​ 5​ J-I-J​ 47​ Q4​ 6​ J-H-H​ 41​ Q4​ 7​ J-I-I​ 46​ Q4​

Formula in C2 copied down
=LOOKUP(B2,{0;14;27;40},{"Q1";"Q2";"Q3";"Q4"})

Hope this helps

M.

Replies
11
Views
145
Replies
1
Views
58
Replies
1
Views
204
Replies
1
Views
348
Replies
3
Views
252

1,127,522
Messages
5,625,305
Members
416,089
Latest member
Captkraken33

### 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.

### Which adblocker are you using?

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

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