RANK based on selling multiple items in different criteria (Excel 2016)

Deepakchoudhary

New Member
Joined
Dec 20, 2010
Messages
43
Office Version
  1. 2016
Platform
  1. Windows
Friends, Purpose of required formula ( in column H) to know.. which "SHOP NAME" is ranking as per highest selling in column "SALE24" for each ITEM (Bread, Drink, Fruit) separately. Ranking required for separate STATE (A, B) and only for "OLD" in column CLASS. I am using Excel 2016 and I have entered the results manually in column H, as required through the formula.

(Data in below table as in A1 : H25)

SHOP NAMEITEMStateManagerCLASSTARGETSALE24RANK
CITY-1FRUITAM1NEW
72​
75
CITY-1DRINKAM1NEW
64​
65
CITY-1BREADAM1NEW
12​
8
CITY-2FRUITAM1OLD
62​
681
CITY-2DRINKAM1OLD
31​
322
CITY-2BREADAM1OLD
86​
921
CITY-3FRUITBM1OLD
63​
592
CITY-3DRINKBM1OLD
71​
771
CITY-3BREADBM1OLD
87​
902
CITY-4FRUITBM1OLD
84​
911
CITY-4DRINKBM1OLD
58​
593
CITY-4BREADBM1OLD
87​
873
CITY-5FRUITAM2OLD
10​
133
CITY-5DRINKAM2OLD
20​
263
CITY-5BREADAM2OLD
28​
302
CITY-6FRUITBM3NEW
32​
33
CITY-6DRINKBM3NEW
30​
34
CITY-6BREADBM3NEW
83​
80
CITY-7FRUITAM2OLD
75​
712
CITY-7DRINKAM2OLD
69​
751
CITY-7BREADAM2OLD
11​
143
CITY-8FRUITBM3OLD
56​
553
CITY-8DRINKBM3OLD
66​
672
CITY-8BREADBM3OLD
89​
911
 

Attachments

  • Rank.png
    Rank.png
    38 KB · Views: 1

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hello, would this work for you:

Excel Formula:
=IF(E2="NEW","",COUNTIFS($E$2:$E$25,E2,$B$2:$B$25,B2,$C$2:$C$25,C2,$G$2:$G$25,">"&G2)+1)
 
Upvote 0
Solution

Forum statistics

Threads
1,221,444
Messages
6,159,912
Members
451,601
Latest member
terrynelson55

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