Ascending order plus...

alopez

New Member
Joined
Sep 27, 2011
Messages
4
I have a random list of numbers in column A (but not every cell has a number), and a name of color in B. I want to list all the numbers in Column A in ascending order in Column D and the corresponding color in Column E. Some of the number repeat, but the colors never do. This has to be automatic, as sometimes I change the numbers and I don't want to have to update the formula.

<table border="0" cellpadding="0" cellspacing="0" width="320"><colgroup><col style="width:48pt" span="5" width="64"> </colgroup><tbody><tr style="height:12.75pt" height="17"> <td style="height:12.75pt;width:48pt" height="17" width="64">Col A</td> <td style="width:48pt" width="64">Col B</td> <td style="width:48pt" width="64">
</td> <td style="width:48pt" width="64">Col D</td> <td style="width:48pt" width="64">Col E</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl65" style="height:12.75pt" height="17">4</td> <td class="xl65">Black</td> <td class="xl65">
</td> <td class="xl65">1</td> <td class="xl65">Orange</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl65" style="height:12.75pt" height="17">2</td> <td class="xl65">White</td> <td class="xl65">
</td> <td class="xl65">2</td> <td class="xl65">White</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl65" style="height:12.75pt" height="17">4</td> <td class="xl65">Blue</td> <td class="xl65">
</td> <td class="xl65">4</td> <td class="xl65">Blue</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl65" style="height:12.75pt" height="17">
</td> <td class="xl65">Yellow</td> <td class="xl65">
</td> <td class="xl65">4</td> <td class="xl65">Black</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl65" style="height:12.75pt" height="17">1</td> <td class="xl65">Orange</td> <td class="xl65">
</td> <td class="xl65">
</td> <td class="xl65">
</td> </tr> </tbody></table>
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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