Auto sort standing as data is inputed

jjhill051

New Member
Joined
Aug 16, 2012
Messages
4
A B C D E F G H I J K L M N O P Q
[TABLE="width: 864"]
<tbody>[TR]
[TD]Rank[/TD]
[TD]Player[/TD]
[TD]GP[/TD]
[TD]W[/TD]
[TD]L[/TD]
[TD]T[/TD]
[TD]PTS[/TD]
[TD]%[/TD]
[TD]W[/TD]
[TD]L[/TD]
[TD]W[/TD]
[TD]L[/TD]
[TD]W[/TD]
[TD]L[/TD]
[TD]GS[/TD]
[TD]GA[/TD]
[TD] +/-[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Jessi[/TD]
[TD]10[/TD]
[TD]6[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]14[/TD]
[TD]0.700[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Dan[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]2[/TD]
[TD]1.000[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Fil[/TD]
[TD]9[/TD]
[TD]6[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]14[/TD]
[TD]0.778[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]-1[/TD]
[/TR]
</tbody>[/TABLE]


Jessi is in row 4, Dan is row 5, Fil is row 6


Based off the Rank formula I have in A4-A6 (Ranks based on amount of points with a tie breaker on %) I want the standings to auto sort to rank the first place team on top and last on bottom as the data is inputed. So (B4-Q4) (B5-Q5) (B6-Q6) will move up and down based on the rank.

Any help will be awesome!! Thannks
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
This will run after columns D E & F are populated.
Place code into sheet module of sheet being sorted.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Application.Intersect(Target, Columns("D:F")) Is Nothing Then
        If Not IsEmpty(Range("D" & Target.Row)) And _
            Not IsEmpty(Range("E" & Target.Row)) And _
            Not IsEmpty(Range("F" & Target.Row)) Then
            Range("A3").Sort Key1:=Columns("A"), Header:=xlYes
        End If
    End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

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