Ranking Question Based On Two Columns

Russ At Index

Well-known Member
Joined
Sep 23, 2002
Messages
706
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Hi

Wondered if anyone can assist ...

I have total number orders for a part number in column B , and total number of corresponding sales qty in column C .

I was hoping to "rank" by using both column B & C ' s data ... but i am stumped !!! ?

As always , any advice greatly appreciated ,

Russ.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
will this work for you?

Book1
ABCD
1No OrderssalesRank
2Part11002502
3Part22027014
4Part31002601
5Part4902104
6Part53021013
7Part6901005
8Part73025012
9Part8602208
10Part9702906
11Part10902703
12Part11602507
13Part122023015
14Part135021010
15Part14601909
16Part154017011
Sheet2
Cell Formulas
RangeFormula
D2:D16D2=RANK(B2,$B$2:$B$16)+SUMPRODUCT(--($B$2:$B$16=$B2),--(C2<$C$2:$C$16))
 
Upvote 0
will this work for you?

Book1
ABCD
1No OrderssalesRank
2Part11002502
3Part22027014
4Part31002601
5Part4902104
6Part53021013
7Part6901005
8Part73025012
9Part8602208
10Part9702906
11Part10902703
12Part11602507
13Part122023015
14Part135021010
15Part14601909
16Part154017011
Sheet2
Cell Formulas
RangeFormula
D2:D16D2=RANK(B2,$B$2:$B$16)+SUMPRODUCT(--($B$2:$B$16=$B2),--(C2<$C$2:$C$16))
Morning Alan ,

Thank you for your time , it works .... it works .. , have a great weekend , and thanks again .

Russ.
 
Upvote 0
you're welcome and good weekend to you
 
Upvote 0

Forum statistics

Threads
1,214,424
Messages
6,119,407
Members
448,894
Latest member
spenstar

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