I am trying to make a standings sheet to rank players without using Table. Using VBA.

cadamhill

New Member
Joined
Oct 3, 2013
Messages
8
Column "I" in "Raw Data" sheet is a column that I created to add all the info I needed added from each row entry from sheet "data" submitted by page operator. I need to be able to sort all the data in each row of the "Raw Data" sheet to a new sheet that matches a player number from sheet "Add member' to a summation of individual player data from column I on the "Raw Data" sheet. I want to do this in VBA and not a Table in Excel. I don't want to have to depend on refreshing data. Can anyone please offer a solution?


Long story short. I want to create a new sheet from the data on "Raw Data" sheet, that ranks a player based on "Session" and "player number" and "player name". Below is my VBA for the raw data sheet and a few screenshots of sheets in question.

Thanks for any help.


Sub data_input()

ws_output = "Raw Data"

next_row = Sheets(ws_output).Range("A" & Rows.Count).End(xlUp).Offset(1).Row

Sheets(ws_output).Cells(next_row, 1).Value = Range("Player_Number").Value
Sheets(ws_output).Cells(next_row, 2).Value = Range("Player_Name").Value
Sheets(ws_output).Cells(next_row, 3).Value = Range("Skill_Level").Value
Sheets(ws_output).Cells(next_row, 4).Value = Range("Enter_Week").Value
Sheets(ws_output).Cells(next_row, 5).Value = Range("Games_Won").Value
Sheets(ws_output).Cells(next_row, 6).Value = Range("Eight_Break").Value
Sheets(ws_output).Cells(next_row, 7).Value = Range("Break_Run").Value

End Sub
1603999187139.png


1603999058201.png

1603999347941.png
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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