Dividing Rankings into Quarters

nirvehex

Well-known Member
Joined
Jul 27, 2011
Messages
503
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!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,323
Members
449,077
Latest member
jmsotelo

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