Dividing Rankings into Quarters

nirvehex

Active Member
Joined
Jul 27, 2011
Messages
489
Office Version
  1. 365
Platform
  1. Windows
Hi,

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

I-H-H27
I-H-H27
A-A-A1
J-I-J47
J-H-H41
J-I-I46

<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!
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Marcelo Branco

MrExcel MVP
Joined
Aug 23, 2010
Messages
16,501
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,530
Messages
5,625,361
Members
416,096
Latest member
forevans

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
Top