broman5000
New Member
- Joined
- Jan 26, 2017
- Messages
- 10
Hey there,
I'm trying to create a ranking and quintile off of multiple criteria (consider these columns a, b, c, d, e)
Essentially I want to do the following
1. Create a ranking *(Column D) based off of the Usage value (column C) by item (Column B) against how each location (Column A) perform for that particular item (Column B)
2. I then would likely create a quintile ranking (Column E) of numbers (1,2,3,4,5) based of of those ranking values
The formula for this is way over my head and i'm not sure it's even possible! Help Please
obviously there is much more data than this, Its normally around 200K rows, this is just a snipit example that I would hopefully be able to drag the formula's down for
[TABLE="width: 320"]
<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl108, width: 64"]location[/TD]
[TD="class: xl108, width: 64"]item[/TD]
[TD="class: xl108, width: 64"]Usage[/TD]
[TD="class: xl108, width: 64"]rank[/TD]
[TD="class: xl108, width: 64"]quintile[/TD]
[/TR]
[TR]
[TD="class: xl108"]a[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.25[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]a[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.65[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]a[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.47[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]b[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.60[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]b[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.68[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]b[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]1.00[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]c[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.52[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]c[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.08[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]c[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.63[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]d[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.17[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]d[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.15[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]d[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.31[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]e[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.42[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]e[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.11[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]e[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.19[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]f[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.02[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]f[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.28[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]f[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.53[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to create a ranking and quintile off of multiple criteria (consider these columns a, b, c, d, e)
Essentially I want to do the following
1. Create a ranking *(Column D) based off of the Usage value (column C) by item (Column B) against how each location (Column A) perform for that particular item (Column B)
2. I then would likely create a quintile ranking (Column E) of numbers (1,2,3,4,5) based of of those ranking values
The formula for this is way over my head and i'm not sure it's even possible! Help Please
obviously there is much more data than this, Its normally around 200K rows, this is just a snipit example that I would hopefully be able to drag the formula's down for
[TABLE="width: 320"]
<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl108, width: 64"]location[/TD]
[TD="class: xl108, width: 64"]item[/TD]
[TD="class: xl108, width: 64"]Usage[/TD]
[TD="class: xl108, width: 64"]rank[/TD]
[TD="class: xl108, width: 64"]quintile[/TD]
[/TR]
[TR]
[TD="class: xl108"]a[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.25[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]a[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.65[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]a[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.47[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]b[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.60[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]b[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.68[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]b[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]1.00[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]c[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.52[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]c[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.08[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]c[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.63[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]d[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.17[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]d[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.15[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]d[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.31[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]e[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.42[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]e[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.11[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]e[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.19[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]f[/TD]
[TD="class: xl108"]1[/TD]
[TD="class: xl109"]0.02[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]f[/TD]
[TD="class: xl108"]2[/TD]
[TD="class: xl109"]0.28[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
[TR]
[TD="class: xl108"]f[/TD]
[TD="class: xl108"]3[/TD]
[TD="class: xl109"]0.53[/TD]
[TD="class: xl108"] [/TD]
[TD="class: xl108"] [/TD]
[/TR]
</tbody>[/TABLE]