Sort by percentage (small to large)

BradMS

New Member
Joined
Jan 27, 2017
Messages
32
Hello,
A3:G200 has my data that gets pulled in by macro.

In I10:I210, I would like a formula or a automatic method to sort D3:D200 (percentage value) from smallest to largest while keeping original data in the columns next to it.

As of now I have I10 filled down to I210 =IF(D3="","",SMALL($D$3:$D$210,ROWS(D$3:D3))), This sorts my percentages from smallest to largest.

I cannot figure out a way to link the other cells with it. So as i add new data it puts the lowest % first, as they reach 100% it goes to the bottom of the list. As my list grows from 210 items to 1000's I always want the outstanding ones near the bottom while keeping the other information from the other columns with it.

0%
0%
12%
15%
55%
75%
100%
100%
100%
100%
100%
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I would use the RANK formula. It gives you the rank of a value in a range, and you can set it as ascending or descending

Keep in mind that if you have multiples of the same value, they will all be the same rank. The next different value will be given a rank that is adjusted to account for how many multiples there were at the previous rank.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

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