Sorting and Filtering

HighAndWilder

Active Member
Joined
Nov 4, 2006
Messages
440
Office Version
  1. 365
Platform
  1. Windows
I want to produce a list in cell E3 of the values in column C sorted by the values in column B.

I'm almost there but it's missing the value in cell C4 and has an extra zero at the bottom.

I will use this list in the CHOOSECOLS function. as these numbers represent the columns in another sheet.

Thanks

FindARace Entry Data.xlsm
ABCDE
1ABC
2ID
3Name222
4Race Number1315
5Email Address 6
6Contact Number 7
7Address468
8Emergency Contact570
9Medical Information68
10Date of Birth 
11Age 
12Gender 
13Distance 
14Order Number 
15UKA Affiliation Number 
16Club315
Reports
Cell Formulas
RangeFormula
E3:E16E3=FILTER(SORTBY(C2:C16,B2:B16,1),C2:C16>0,"")
C3:C16C3=IF($B3>0,MATCH($A3,FindARaceCopy!$A$1:$O$1,0),"")
Dynamic array formulas.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Try
Excel Formula:
=LET(s,SORTBY(C2:C16,B2:B16,1),FILTER(s,s<>""))
 
Upvote 0
Another option
Excel Formula:
=LET(s,TAKE(SORT(B2:C100),,-1),FILTER(s,s<>""))
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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