VSORT with sorting (Ascending-Descending)

Ali Kırksekiz

Board Regular
Joined
Jul 20, 2006
Messages
108
I did Data-Sort and macro but I can't do VSORT (more function)

I am having trouble getting VSORT to work I have to four columns

Number......Name............Lesson Code.............Mark
256...........Michael XX ..........TAM..................... 56
112...........Zeeman AA.........MAT...................... 78
80.............Adrian PP...........ING....................... 45
657...........Bob FF................COG......................95

Sort ascending Number list/I want to like this

Number......Name............Lesson Code.............Mark
80.............Adrian PP...........ING....................... 45
112...........Zeeman AA.........MAT...................... 78
256...........Michael XX ..........TAM..................... 56
657...........Bob FF................COG......................95

Sort ascending(alphabetical)Name list/I want to like this

Number......Name............Lesson Code.............Mark
80.............Adrian PP...........ING....................... 45
657...........Bob FF................COG......................95
256...........Michael XX ..........TAM..................... 56
112...........Zeeman AA.........MAT...................... 78

Sort ascending (alphabetical)Lesson code list/I want to like this

Number......Name............Lesson Code.............Mark
657...........Bob FF................COG......................95
80.............Adrian PP...........ING....................... 45
112...........Zeeman AA.........MAT...................... 78
256...........Michael XX ..........TAM..................... 56


Thanks for any help
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hi,

Formula in F2 and copied down & across,

=INDEX(VSORT($A$2:$D$5,$A$2:$A$5,1),ROWS($A$2:$A2),COLUMNS($F$1:F$1))

In F8,

=INDEX(VSORT($A$2:$D$5,$B$2:$B$5,1),ROWS($A$8:$A8),COLUMNS($F$1:F$1))

In F14,

=INDEX(VSORT($A$2:$D$5,$C$2:$C$5,1),ROWS($A$8:$A8),COLUMNS($F$1:F$1))

HTH
 
Upvote 0

Forum statistics

Threads
1,215,381
Messages
6,124,615
Members
449,175
Latest member
Anniewonder

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