Rank table of Percentages from another table.

RohitJung

New Member
Joined
Feb 26, 2022
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hello,
I want to rank lists of percentages that include ("N/A", Negative and Positive % Values), based on the highest percentage that has to be 1st and lowest percentage (till highest negative percentage) last, if the value is "N/A" return "N/A". The rank should relate to the symbol.

I want something like this
1645934046349.png


Worksheet.xlsx
ABCDEFGHIJKLMNO
1Symbol8/5/20218/12/20218/19/20218/26/20219/2/20219/9/2021Symbol8/5/20218/12/20218/19/20218/26/20219/2/20219/9/2021
2BNHCN/A5.50%4.50%8.50%9.60%7.90%BNHCN/A
3MBJCN/AN/A4.60%3.50%8.50%7.40%MBJCN/A
4MKJCN/AN/AN/AN/A9.50%4.50%MKJCN/A
5GHL39.03%0.41%-3.06%-4.13%-4.04%0.23%GHL1
6KPCL29.91%10.53%-5.36%-6.54%-5.38%-2.56%KPCL2
7AKJCL22.55%0.38%13.47%-5.23%-7.70%1.26%AKJCL3
8DHPL20.44%0.00%6.79%1.96%-8.39%-1.07%DHPL4
9KKHC20.31%-1.30%16.05%-10.88%1.53%-0.25%KKHC5
10API18.74%13.41%-1.93%-2.59%-11.54%-6.41%API6
11JOSHI16.62%-1.19%7.69%-4.69%-7.49%0.03%JOSHI7
12LEC12.82%4.13%-4.96%-3.97%-7.39%-1.88%LEC8
13HDHPC12.46%7.30%3.22%-0.68%-10.32%4.36%HDHPC9
14BPCL11.84%6.68%-5.65%0.97%-7.85%-3.50%BPCL10
15GLH11.84%13.14%-3.53%-4.87%-10.04%5.49%GLH11
16AHPC9.97%8.64%10.81%3.37%-3.68%1.38%AHPC12
17MHNL8.84%13.10%-7.77%-5.52%-13.36%7.59%MHNL13
18HURJA5.82%9.30%2.07%-7.47%-2.76%-5.10%HURJA14
19AKPL5.40%15.94%20.71%-0.42%-27.33%-0.83%AKPL15
20CHL5.26%9.00%-2.14%-4.69%-6.07%-0.70%CHL16
21CHCL3.76%2.17%-4.80%-2.33%-8.48%-2.56%CHCL17
22BARUN0.32%11.08%0.58%-3.74%-14.18%2.43%BARUN18
23MEN-0.54%32.23%11.36%7.67%-16.34%2.66%MEN19
24HPPL-2.45%19.05%-6.07%-10.43%-9.84%6.40%HPPL20
Sheet1
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Excel has two functions for that: Rank.EQ and Rank.AVG. Decide exactly which one you want to use, but otherwise, the formula in J2 would look something like:
Excel Formula:
=IFERROR(RANK.EQ(B2,B$2:B$24),NA())
This can be carried throughout the rest of the second table.
 
Upvote 0

Forum statistics

Threads
1,223,950
Messages
6,175,582
Members
452,653
Latest member
craigje92

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