Table to create by highest first

Dazlancs

New Member
Joined
Sep 10, 2011
Messages
28
Hi all,

I am trying to get a table that is created based on the numbers i have.

eg i have the following data in cells A1:B4

1 List 1 1.00%
2 List 2 2.00%
3 List 3 3.00%
4 List 4 4.00%

Ineed a formula that will look at them and put them in highest order first in cells E1:F4

1 List 4 4.00%
2 List 3 3.00%
3 List 2 2.00%
4 List 1 1.00%

Can anyone help? I think i need to use an index but don't know how:confused:

Thanks,

Darren
 
Darren,

Look at highlighting the table then copy it to column E then use Sorting and sort from the percentage column from Largest to Smallest.
 
Upvote 0
So if your list begins in Cell A1

A1 B1 C1
[TABLE="width: 144"]
<COLGROUP><COL style="WIDTH: 48pt" span=3 width=64><TBODY>[TR]
[TD="class: xl23, width: 64, bgcolor: transparent"]List 1[/TD]
[TD="class: xl22, width: 64, bgcolor: transparent, align: right"]1.0%[/TD]
[TD="class: xl22, width: 64, bgcolor: transparent"]List 4[/TD]
[/TR]
[TR]
[TD="class: xl23, bgcolor: transparent"]List 2[/TD]
[TD="class: xl22, bgcolor: transparent, align: right"]2.0%[/TD]
[TD="class: xl22, bgcolor: transparent"]List 3[/TD]
[/TR]
[TR]
[TD="class: xl23, bgcolor: transparent"]List 3[/TD]
[TD="class: xl22, bgcolor: transparent, align: right"]3.0%[/TD]
[TD="class: xl22, bgcolor: transparent"]List 2[/TD]
[/TR]
[TR]
[TD="class: xl23, bgcolor: transparent"]List 4[/TD]
[TD="class: xl22, bgcolor: transparent, align: right"]4.0%[/TD]
[TD="class: xl22, bgcolor: transparent"]List 1[/TD]
[/TR]
</TBODY>[/TABLE]

The formula in cell C1 =INDEX($A$1:$A$4,MATCH(LARGE($B$1:$B$4,ROWS($B$1:B1)),$B$1:$B$4,0),1)
 
Upvote 0

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