Ranking top 5 with out taking NET and SN

sksanjeev786

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

I Need data without NET and (SN) top 5 statement

book1
ABCDE
1SITUATION VISUAL (NET)50%
2People are more interested in the car than the driver or anyone/anything else40%
3People notice/are captivated by the car1%People are more interested in the car than the driver or anyone/anything else40%
4AD COPY (NET)70%Reference to 'be yourself/whatever you want to be/be unique'39%
5References to 'Goat'-To find new roads (similar)38%
6Reference to enjoy/appreciate your life(SN)33%Reference to 'Dream'35%
7Reference to 'be yourself/whatever you want to be/be unique'39%
8Reference to 'You can achieve anything'-
9To find new roads (similar)38%
10Reference to 'Dream'35%
11OFFER/PRICE/VALUE (NET)35%
12Good/affordable price-
13Offered a good/great deal/rebate/promotionife(SN)32%
14It is easy to buy33%
15Easy to get/no hassle good pricing/don't need a sale-
16Economy/economicalife(SN)31%
17Buy the car/vehicle/ad says buy it0%
1820 day sale-
19Offers discount(no detail)ife(SN)29%
20Offers 20 day sale-
21VEHICLE FEATURES/TECHNOLOGY (NET)30%
22Good features0%
23Variety/different features1%
24Has new functions-
Sheet1


Thanks
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
For excel 2016,
Codename.xlsm
ABCDE
1SITUATION VISUAL (NET)50%
2People are more interested in the car than the driver or anyone/anything else40%
3People notice/are captivated by the car1%People are more interested in the car than the driver or anyone/anything else40%
4AD COPY (NET)70%Reference to 'be yourself/whatever you want to be/be unique'39%
5References to 'Goat'-To find new roads (similar)38%
6Reference to enjoy/appreciate your life(SN)33%Reference to 'Dream'35%
7Reference to 'be yourself/whatever you want to be/be unique'39%
8Reference to 'You can achieve anything'-
9To find new roads (similar)38%
10Reference to 'Dream'35%
11OFFER/PRICE/VALUE (NET)35%
12Good/affordable price-
13Offered a good/great deal/rebate/promotionife(SN)32%
14It is easy to buy33%
15Easy to get/no hassle good pricing/don't need a sale-
16Economy/economicalife(SN)31%
17Buy the car/vehicle/ad says buy it0%
1820 day sale-
19Offers discount(no detail)ife(SN)29%
20Offers 20 day sale-
21VEHICLE FEATURES/TECHNOLOGY (NET)30%
22Good features0%
23Variety/different features1%
24Has new functions-
Sheet3
Cell Formulas
RangeFormula
D3:D6D3=INDEX($A$1:$A$24,AGGREGATE(15,6,ROW($A$1:$A$24)/($B$1:$B$24=E3),COUNTIF(E$3:E3,E3)))
E3:E6E3=AGGREGATE(14,6,$B$1:$B$24/ISERROR(SEARCH("(NET)",$A$1:$A$24))/ISERROR(SEARCH("(SN)",$A$1:$A$24)),ROWS(E$3:E3))


It might also be possible with SORT and FILTER using 365, as your profile shows 2 versions of excel I have based this on the oldest one.
 
Upvote 0
For 365 only. Using a helper cell in G2 for LARGE(5)

Book1
ABCDEFG
1SITUATION VISUAL (NET)0.5People are more interested in the car than the driver or anyone/anything else0.4LARGE(5)
2People are more interested in the car than the driver or anyone/anything else0.4Reference to 'be yourself/whatever you want to be/be unique'0.390.33
3People notice/are captivated by the car0.0To find new roads (similar)0.38
4AD COPY (NET)0.7Reference to 'Dream'0.35
5References to 'Goat'0.0It is easy to buy0.33
6Reference to enjoy/appreciate your life(SN)0.3
7Reference to 'be yourself/whatever you want to be/be unique'0.4
8Reference to 'You can achieve anything'0.0
9To find new roads (similar)0.4
10Reference to 'Dream'0.4
11OFFER/PRICE/VALUE (NET)0.4
12Good/affordable price0.0
13Offered a good/great deal/rebate/promotionife(SN)0.3
14It is easy to buy0.3
15Easy to get/no hassle good pricing/don't need a sale0.0
16Economy/economicalife(SN)0.3
17Buy the car/vehicle/ad says buy it0.0
1820 day sale0.0
19Offers discount(no detail)ife(SN)0.3
20Offers 20 day sale0.0
21VEHICLE FEATURES/TECHNOLOGY (NET)0.3
22Good features0.0
23Variety/different features0.0
24Has new functions0.0
Sheet1
Cell Formulas
RangeFormula
D1:E5D1=SORT(FILTER(A1:B24,(NOT(ISNUMBER(SEARCH("NET",A1:A24))))*(NOT(ISNUMBER(SEARCH("SN",A1:A24))))*(B1:B24>=$G$2)),2,-1)
G2G2=SUMPRODUCT(LARGE((NOT(ISNUMBER(SEARCH("NET",A1:A24)))*(NOT(ISNUMBER(SEARCH("SN",A1:A24)))))*(B1:B24),5))
Dynamic array formulas.
 
Upvote 0
Another option for 365
+Fluff v2.xlsm
ABCDE
1SITUATION VISUAL (NET)50%
2People are more interested in the car than the driver or anyone/anything else40%
3People notice/are captivated by the car1%People are more interested in the car than the driver or anyone/anything else40%
4AD COPY (NET)70%Reference to 'be yourself/whatever you want to be/be unique'39%
5References to 'Goat'-To find new roads (similar)38%
6Reference to enjoy/appreciate your life(SN)33%Reference to 'Dream'35%
7Reference to 'be yourself/whatever you want to be/be unique'39%It is easy to buy33%
8Reference to 'You can achieve anything'-
9To find new roads (similar)38%
10Reference to 'Dream'35%
11OFFER/PRICE/VALUE (NET)35%
12Good/affordable price-
13Offered a good/great deal/rebate/promotionife(SN)32%
14It is easy to buy33%
15Easy to get/no hassle good pricing/don't need a sale-
16Economy/economicalife(SN)31%
17Buy the car/vehicle/ad says buy it0%
1820 day sale-
19Offers discount(no detail)ife(SN)29%
20Offers 20 day sale-
21VEHICLE FEATURES/TECHNOLOGY (NET)30%
22Good features0%
23Variety/different features1%
24Has new functions-
25
26
Data
Cell Formulas
RangeFormula
D3:E7D3=INDEX(SORT(FILTER(A1:B24,(ISERR(SEARCH("(net)",A1:A24)))*(ISERR(SEARCH("(SN)",A1:A24)))*(ISNUMBER(B1:B24))),2,-1),SEQUENCE(5),{1,2})
Dynamic array formulas.
 
Upvote 0
Another option for 365
+Fluff v2.xlsm
ABCDE
1SITUATION VISUAL (NET)50%
2People are more interested in the car than the driver or anyone/anything else40%
3People notice/are captivated by the car1%People are more interested in the car than the driver or anyone/anything else40%
4AD COPY (NET)70%Reference to 'be yourself/whatever you want to be/be unique'39%
5References to 'Goat'-To find new roads (similar)38%
6Reference to enjoy/appreciate your life(SN)33%Reference to 'Dream'35%
7Reference to 'be yourself/whatever you want to be/be unique'39%It is easy to buy33%
8Reference to 'You can achieve anything'-
9To find new roads (similar)38%
10Reference to 'Dream'35%
11OFFER/PRICE/VALUE (NET)35%
12Good/affordable price-
13Offered a good/great deal/rebate/promotionife(SN)32%
14It is easy to buy33%
15Easy to get/no hassle good pricing/don't need a sale-
16Economy/economicalife(SN)31%
17Buy the car/vehicle/ad says buy it0%
1820 day sale-
19Offers discount(no detail)ife(SN)29%
20Offers 20 day sale-
21VEHICLE FEATURES/TECHNOLOGY (NET)30%
22Good features0%
23Variety/different features1%
24Has new functions-
25
26
Data
Cell Formulas
RangeFormula
D3:E7D3=INDEX(SORT(FILTER(A1:B24,(ISERR(SEARCH("(net)",A1:A24)))*(ISERR(SEARCH("(SN)",A1:A24)))*(ISNUMBER(B1:B24))),2,-1),SEQUENCE(5),{1,2})
Dynamic array formulas.

Elegant solution Fluff. Love it!
 
Upvote 0
Other Version except 365.
You can use helper Column at Column C and Drag it down then Hide it.
C1 =
Excel Formula:
=IF(IF(OR(ISNUMBER(SEARCH("NET",$A$1:$A$24)),ISNUMBER(SEARCH("SN",$A$1:$A$24)))=FALSE,COUNTA($A$1:A1),0)>0,B1,"-")
Then at D3 write:
Excel Formula:
=IFERROR(INDEX($A$1:$B$24,MATCH(LARGE($C$1:$C$24,ROWS($D$3:D3)),$C$1:$C$24,0),1),"")
and E3:
Excel Formula:
=IFERROR(INDEX($A$1:$B$24,MATCH(LARGE($C$1:$C$24,ROWS($D$3:D3)),$C$1:$C$24,0),2),"")
 
Upvote 0
Another option for 365
+Fluff v2.xlsm
ABCDE
1SITUATION VISUAL (NET)50%
2People are more interested in the car than the driver or anyone/anything else40%
3People notice/are captivated by the car1%People are more interested in the car than the driver or anyone/anything else40%
4AD COPY (NET)70%Reference to 'be yourself/whatever you want to be/be unique'39%
5References to 'Goat'-To find new roads (similar)38%
6Reference to enjoy/appreciate your life(SN)33%Reference to 'Dream'35%
7Reference to 'be yourself/whatever you want to be/be unique'39%It is easy to buy33%
8Reference to 'You can achieve anything'-
9To find new roads (similar)38%
10Reference to 'Dream'35%
11OFFER/PRICE/VALUE (NET)35%
12Good/affordable price-
13Offered a good/great deal/rebate/promotionife(SN)32%
14It is easy to buy33%
15Easy to get/no hassle good pricing/don't need a sale-
16Economy/economicalife(SN)31%
17Buy the car/vehicle/ad says buy it0%
1820 day sale-
19Offers discount(no detail)ife(SN)29%
20Offers 20 day sale-
21VEHICLE FEATURES/TECHNOLOGY (NET)30%
22Good features0%
23Variety/different features1%
24Has new functions-
25
26
Data
Cell Formulas
RangeFormula
D3:E7D3=INDEX(SORT(FILTER(A1:B24,(ISERR(SEARCH("(net)",A1:A24)))*(ISERR(SEARCH("(SN)",A1:A24)))*(ISNUMBER(B1:B24))),2,-1),SEQUENCE(5),{1,2})
Dynamic array formulas.

Hey Fluff,

Thank you once again.

I have shared your formula and team loved it!!! as mention by @Kavecarter its really beautiful:)

Just wanted to check if I want to understand your formal concept can you please where is find.

Thanks in advance.
Regards,
Sanjeev
 
Upvote 0
Glad we could help & thanks for the feedback.

Just wanted to check if I want to understand your formal concept can you please where is find.
Not quite sure what you mean by this.
 
Upvote 0
Glad we could help & thanks for the feedback.


Not quite sure what you mean by this.
Hey Fluff:)

I meant to say your function clarification in formula just like (Formula Evaluation ).

If it possible otherwise no issue :)

Thanks.
Sanjeev
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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