I have values in column A that vary in length and characters. I want to rank those values from lowest to highest, but i am running into duplicates even though the values are different. I have different formulas in columns C & D to dissect the information in different ways, but its not working how I want it to. I am looking for assistance to differentiate these values to accurately rank them from lowest to highest.
Workbook:
Formula 1:
Formula 2:
Rank formula for column C (this one is the closest in accuracy, except when the value is 3 digits or the exact same):
Desired Result:
Thank you!
Workbook:
Code:
[TABLE="width: 668"]
<tbody>[TR]
[TD][/TD]
[TD]Formula 1[/TD]
[TD]Formula 2[/TD]
[TD]Rank on formula 1[/TD]
[TD]Rank on formula 2[/TD]
[/TR]
[TR]
[TD]Pontiac $500-$20[/TD]
[TD]500[/TD]
[TD]500-20[/TD]
[TD]1[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Feet $500-$40[/TD]
[TD]500[/TD]
[TD]500-40[/TD]
[TD]1[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]USA Feet $2,000-100% Gt Plus[/TD]
[TD]2000[/TD]
[TD]2000-100[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]USA Feet $2,000-100%[/TD]
[TD]2000[/TD]
[TD]2000-100[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Orange $3,000-70% Treat ACE Free[/TD]
[TD]3000[/TD]
[TD]3000-70[/TD]
[TD]3[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]USA Emboss. Orange $3,000-80%[/TD]
[TD]3000[/TD]
[TD]3000-80[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]USA Emboss. Orange $4,000-100% Gt Plus[/TD]
[TD]4000[/TD]
[TD]4000-100[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]USA Emboss. Orange $4,000-100%[/TD]
[TD]4000[/TD]
[TD]4000-100[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
Formula 1:
Code:
=IFERROR(INT(LEFT(REPLACE(SUBSTITUTE(A2,"-"," "),1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&1/17))-1,""),5)),INT(LEFT(REPLACE(SUBSTITUTE(A2,"-"," "),1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&1/17))-1,""),4)))
Formula 2:
Code:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(A2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&"0123456789")),FIND(" ",A2&" ",MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&"0123456789")))-MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&"0123456789"))),"$",""),"%",""),",","")
Rank formula for column C (this one is the closest in accuracy, except when the value is 3 digits or the exact same):
Code:
=IF(C3="","",SUMPRODUCT(($C$2:$C$9< C3)/COUNTIF($C$2:$C$9,$C$2:$C$9))+1)
Desired Result:
Code:
[TABLE="width: 326"]
<tbody>[TR]
[TD][/TD]
[TD]Rank[/TD]
[/TR]
[TR]
[TD]Pontiac $500-$20[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Feet $500-$40[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]USA Feet $2,000-100%[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]USA Feet $2,000-100% Gt Plus[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Orange $3,000-70% Treat ACE Free[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]USA Emboss. Orange $3,000-80%[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]USA Emboss. Orange $4,000-100%[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]USA Emboss. Orange $4,000-100% Gt Plus[/TD]
[TD]8[/TD]
[/TR]
</tbody>[/TABLE]
Thank you!