Need ranking based on the score

sksanjeev786

Well-known Member
Joined
Aug 5, 2020
Messages
884
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi Team,

I need a ranking based on the D8 data excluding (Average Data) and Brand order from F3. I have kept the brand order for example F14 to F38


book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
310AverageThe Home DepotLowe'sAmazonFergusonHajocaWinsupplySupplyHouse.comJohnstone SupplyGraingerBuild.comLennoxMSC IndustrialUnited RefrigerationCore & MainMRC GlobalHD SupplyDistribution NowVikingWinwholesaleWindustrialTycoSouthern Pipe & SupplyRE MichelHD FowlerCarrier Enterprise
4
5[2124.xlsx]SS25Meaningful (indexed against first wave category average)97184137099690009800740078064006400000
6[2124.xlsx]SS26Different (indexed against first wave category average)103178123097920009900820078082008900000
7[2124.xlsx]SS27Salient (indexed against first wave category average)1071811760829400010400820079081007300000
8[2124.xlsx]SS218Power % (share)2%28%20%0%9%7%0%0%0%11%0%0%7%0%0%7%0%6%0%0%6%0%0%0%0%0%
9[2124.xlsx]SS219Premium v2 (indexed vs. first wave category average)1.041.281.150.001.030.990.000.000.001.030.000.000.960.000.000.970.000.960.000.000.950.000.000.000.000.00
10
11
12Output
13
14The Home Depot28%
15Lowe's20%
16Grainger11%
17Ferguson9%
18MSC Industrial7%
19MRC Global7%
20Hajoca7%
21Distribution Now6%
22Windustrial6%
23Amazon0%
24Winsupply0%
25SupplyHouse.com0%
26Johnstone Supply0%
27Build.com0%
28Lennox0%
29United Refrigeration0%
30Core & Main0%
31HD Supply0%
32Viking0%
33Winwholesale0%
34Tyco0%
35Southern Pipe & Supply0%
36RE Michel0%
37HD Fowler0%
38Carrier Enterprise0%
Sheet1
 
How about:

test.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
1
2
310AverageThe Home DepotLowe'sAmazonFergusonHajocaWinsupplySupplyHouse.comJohnstone SupplyGraingerBuild.comLennoxMSC IndustrialUnited RefrigerationCore & MainMRC GlobalHD SupplyDistribution NowVikingWinwholesaleWindustrialTycoSouthern Pipe & SupplyRE MichelHD FowlerCarrier Enterprise
4
5[2124.xlsx]SS25Meaningful (indexed against first wave category average)97184137099690009800740078064006400000
6[2124.xlsx]SS26Different (indexed against first wave category average)103178123097920009900820078082008900000
7[2124.xlsx]SS27Salient (indexed against first wave category average)1071811760829400010400820079081007300000
8[2124.xlsx]SS218Power % (share)2%28%20%0%9%7%0%0%0%11%0%0%7%0%0%7%0%6%0%0%6%0%0%0%0%0%
9[2124.xlsx]SS219Premium v2 (indexed vs. first wave category average)1.041.281.150.001.030.990.000.000.001.030.000.000.960.000.000.970.000.960.000.000.950.000.000.000.000.00
10
11
12Output
13
14The Home Depot28%
15Lowe's20%
16Grainger11%
17Ferguson9%
18MSC Industrial7%
19MRC Global7%
20Hajoca7%
21Distribution Now6%
22Windustrial6%
23
Sheet1
Cell Formulas
RangeFormula
F14:G22F14=INDEX(SORT(TRANSPOSE($F$3:$AD$9),6,-1),SEQUENCE(COUNTIF($F$8:$AD$8,">0")),{1,6})
Dynamic array formulas.

Hi Kevin,

I have another request on the same data file.

Ferguson is my main brand so can I get that in 1st position and rest looks same what we have done earlier.

Thanks in advance
Regards,
Sanjeev
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
I dont have 365. But it works for 2016 or earlier

Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
1
2
310AverageThe Home DepotLowe'sAmazonFergusonHajocaWinsupplySupplyHouse.comJohnstone SupplyGraingerBuild.comLennoxMSC IndustrialUnited RefrigerationCore & MainMRC GlobalHD SupplyDistribution NowVikingWinwholesaleWindustrialTycoSouthern Pipe & SupplyRE MichelHD FowlerCarrier Enterprise
4
5[2124.xlsx]SS25Meaningful (indexed against first wave category average)97.23432183.7900085136.6236098.6607869.1067300098.182410073.997050078.11188064.255540064.3924500000
6[2124.xlsx]SS26Different (indexed against first wave category average)102.7886177.9639769123.346096.5516392.3513800098.786820081.584780078.08882082.450730088.5892300000
7[2124.xlsx]SS27Salient (indexed against first wave category average)106.5961180.627649176.3788081.7154993.76618000104.45860082.332250078.72557080.537640073.3926900000
8[2124.xlsx]SS218Power % (share)2%28%20%0%9%7%0%0%0%11%0%0%7%0%0%7%0%6%0%0%6%0%0%0%0%0%
9[2124.xlsx]SS219Premium v2 (indexed vs. first wave category average)1.0382371.2832081591.14778801.0282720.9923760001.027736000.961424000.96979600.962779000.95039500000
10
11
12Output
13Ferguson9.30%
14The Home Depot27.88%
15Lowe's19.75%
16Grainger10.72%
17MSC Industrial7.25%
18MRC Global6.83%
19Hajoca6.81%
20Distribution Now5.96%
21Windustrial5.52%
22Average2.08%
Sheet2
Cell Formulas
RangeFormula
F13F13=I3
G13G13=I8
F14:F22F14=IFERROR(LOOKUP(2,1/($E$8:$AD$8=AGGREGATE(14,6,$E$8:$AD$8/($E$8:$AD$8>0)/($E$3:$AD$3<>$F$13),ROWS($1:1))),$E$3:$AD$3),"")
G14:G22G14=IFERROR(LOOKUP(2,1/($E$8:$AD$8=AGGREGATE(14,6,$E$8:$AD$8/($E$8:$AD$8>0)/($E$3:$AD$3<>$F$13),ROWS($1:1))),$E$8:$AD$8),"")
 
Upvote 0
I dont have 365. But it works for 2016 or earlier

Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
1
2
310AverageThe Home DepotLowe'sAmazonFergusonHajocaWinsupplySupplyHouse.comJohnstone SupplyGraingerBuild.comLennoxMSC IndustrialUnited RefrigerationCore & MainMRC GlobalHD SupplyDistribution NowVikingWinwholesaleWindustrialTycoSouthern Pipe & SupplyRE MichelHD FowlerCarrier Enterprise
4
5[2124.xlsx]SS25Meaningful (indexed against first wave category average)97.23432183.7900085136.6236098.6607869.1067300098.182410073.997050078.11188064.255540064.3924500000
6[2124.xlsx]SS26Different (indexed against first wave category average)102.7886177.9639769123.346096.5516392.3513800098.786820081.584780078.08882082.450730088.5892300000
7[2124.xlsx]SS27Salient (indexed against first wave category average)106.5961180.627649176.3788081.7154993.76618000104.45860082.332250078.72557080.537640073.3926900000
8[2124.xlsx]SS218Power % (share)2%28%20%0%9%7%0%0%0%11%0%0%7%0%0%7%0%6%0%0%6%0%0%0%0%0%
9[2124.xlsx]SS219Premium v2 (indexed vs. first wave category average)1.0382371.2832081591.14778801.0282720.9923760001.027736000.961424000.96979600.962779000.95039500000
10
11
12Output
13Ferguson9.30%
14The Home Depot27.88%
15Lowe's19.75%
16Grainger10.72%
17MSC Industrial7.25%
18MRC Global6.83%
19Hajoca6.81%
20Distribution Now5.96%
21Windustrial5.52%
22Average2.08%
Sheet2
Cell Formulas
RangeFormula
F13F13=I3
G13G13=I8
F14:F22F14=IFERROR(LOOKUP(2,1/($E$8:$AD$8=AGGREGATE(14,6,$E$8:$AD$8/($E$8:$AD$8>0)/($E$3:$AD$3<>$F$13),ROWS($1:1))),$E$3:$AD$3),"")
G14:G22G14=IFERROR(LOOKUP(2,1/($E$8:$AD$8=AGGREGATE(14,6,$E$8:$AD$8/($E$8:$AD$8>0)/($E$3:$AD$3<>$F$13),ROWS($1:1))),$E$8:$AD$8),"")

Thank you so much for your help...!!! :)
 
Upvote 0

Forum statistics

Threads
1,216,131
Messages
6,129,066
Members
449,485
Latest member
greggy

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