Labeling Ranking Numbers

SomeGuyHere

New Member
Joined
Aug 24, 2023
Messages
13
Office Version
  1. 2021
Platform
  1. Windows
I'm trying to create ranking numbers next to my product, but I want to skip like-labeled items. Is there a formula that can be applied across column J in the example image? Thank you.
 

Attachments

  • Capture.JPG
    Capture.JPG
    27.6 KB · Views: 18

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
What version of Excel are you using?

Please update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using, as the best solution often varies by version. Don’t forget to scroll down to save your changes.

Doug
 
Upvote 0
What version of Excel are you using?

Please update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using, as the best solution often varies by version. Don’t forget to scroll down to save your changes.

Doug

Excel 2021. I updated my details.
 
Upvote 0
If there is a clean way to do this, it is beyond me...
Book1
ABCDEFGH
1RankItemSales
21Zebra Green100ZebraZebra Green1001
32Xray99Xray992
43Yak87Yak873
54Monkey Purple81MonkeyMonkey Purple814
65Elephant80Elephant805
7Elephant Red53ElephantFox646
8Elephant Green22ElephantGorilla447
9Elephant Purple5ElephantOrange Blue308
106Fox64
11Fox Purple49Fox
12Fox Orange15Fox
137Gorilla44
148Orange Blue30Orange
Sheet2
Cell Formulas
RangeFormula
D2:D14D2=LET(rng,B2:B14,mult_word,SEARCH(" ",rng,1),first_word,IFERROR(LEFT(rng,mult_word-1),""),first_word)
F2:G9F2=LET(counts,IF(D2#="",1,COUNTIF(D2#,D2#)),filt,FILTER($B$2:$C$14,counts=1),filt)
H2:H9H2=RANK.AVG(INDEX(F2#,,2),INDEX(F2#,,2))
Dynamic array formulas.

Hope it helps,

Doug
 
Upvote 0
If there is a clean way to do this, it is beyond me...
Book1
ABCDEFGH
1RankItemSales
21Zebra Green100ZebraZebra Green1001
32Xray99Xray992
43Yak87Yak873
54Monkey Purple81MonkeyMonkey Purple814
65Elephant80Elephant805
7Elephant Red53ElephantFox646
8Elephant Green22ElephantGorilla447
9Elephant Purple5ElephantOrange Blue308
106Fox64
11Fox Purple49Fox
12Fox Orange15Fox
137Gorilla44
148Orange Blue30Orange
Sheet2
Cell Formulas
RangeFormula
D2:D14D2=LET(rng,B2:B14,mult_word,SEARCH(" ",rng,1),first_word,IFERROR(LEFT(rng,mult_word-1),""),first_word)
F2:G9F2=LET(counts,IF(D2#="",1,COUNTIF(D2#,D2#)),filt,FILTER($B$2:$C$14,counts=1),filt)
H2:H9H2=RANK.AVG(INDEX(F2#,,2),INDEX(F2#,,2))
Dynamic array formulas.

Hope it helps,

Doug

Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,475
Messages
6,125,028
Members
449,205
Latest member
Eggy66

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