how to uniquely rank worst seller by group and multi criteria?

Manith

New Member
Joined
Apr 14, 2020
Messages
29
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

I would like to rank the below table of worst seller by group with multi criteria.
The first priority/condition to rank the worst seller is starting from "Qty sold", then "Week Launch", "Discount". The rank number needs to be uniquely without duplicating.
And if the Product that launch below 8 weeks will not count/rank as worst seller.
1628183688325.png

Thank you so much!
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
For the Qty Sold, I assume the lower the number, the worse the seller? For week launch, is a lower number worse or better? For Discount, is a lower number worse or better?
 
Upvote 0
For the Qty Sold, I assume the lower the number, the worse the seller? For week launch, is a lower number worse or better? For Discount, is a lower number worse or better?
Hi Eric, Yes, the low qty sold is the worse seller and lower week launch is the better, so higher week launch is the worst, then the lower number is the better, meaning higher discount is worst seller. And i would like to correct the rank for "Speaker" from Rank 3 to Rank 2 as it was duplicated. Thank you1
 
Upvote 0
Try:

Book1
ABCDEF
1
2GroupProductQty SoldWeek LaunchDiscountRank
3AiPhone11230%3
4AiWatch090%1
5ASamsung11510%2
6BTV1920%3
7BRadio11620%1
8BSpeaker1160%2
9CAircon0180%1
10CRefrigerator030% 
11CFan01320%2
12
Sheet18
Cell Formulas
RangeFormula
F3:F11F3=IF(D3<8,"",SUMPRODUCT(--((((1000-$C$3:$C$11)*100+$D$3:$D$11+$E$3:$E$11)*($A$3:$A$11=$A3)*($D$3:$D$11>=8))>=(1000-$C3)*100+$D3+$E3)))


This assumes the quantity sold will never be more than 999.
 
Upvote 0
Try:

Book1
ABCDEF
1
2GroupProductQty SoldWeek LaunchDiscountRank
3AiPhone11230%3
4AiWatch090%1
5ASamsung11510%2
6BTV1920%3
7BRadio11620%1
8BSpeaker1160%2
9CAircon0180%1
10CRefrigerator030% 
11CFan01320%2
12
Sheet18
Cell Formulas
RangeFormula
F3:F11F3=IF(D3<8,"",SUMPRODUCT(--((((1000-$C$3:$C$11)*100+$D$3:$D$11+$E$3:$E$11)*($A$3:$A$11=$A3)*($D$3:$D$11>=8))>=(1000-$C3)*100+$D3+$E3)))


This assumes the quantity sold will never be more than 999.
Hi Eric,
I tried your formula and added one more condition, it worked. However, it created a duplicate rank number.
here is the formula: =IF(D6<8,"",SUMPRODUCT(--((((1000-$C$3:$C$490)*100+$D$3:$D$490+$E$3:$E$490)*($A$3:$A$490=$A6)*($B$3:$B$490=$B6)*($D$3:$D$490>=8))>=(1000-$C6)*100+$D6+$E6)))

1628271157320.png


Thank you!
 
Upvote 0
They have duplicate ranks because they have identical parameters. If you want something to break such ties, we can add the row number to the mix, but that's kind of arbitrary.
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,742
Members
448,989
Latest member
mariah3

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