Sorting and Filtering

HighAndWilder

Well-known Member
Joined
Nov 4, 2006
Messages
660
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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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

Forum statistics

Threads
1,223,886
Messages
6,175,189
Members
452,616
Latest member
intern444

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