I am trying to build a spreadsheet where one sheet holds a list of names divided into groups and a second sheet should list all the names, sorted, with a number next to each name according to a calculation based on the first sheet.
Please see demo spreadsheet for a demo spreadsheet with the desired state.
Best Answer
I would go about solving it a bit differently. Advantage is that this little code will prepare the table at once.
Code
Screenshot
data
![enter image description here](https://i.stack.imgur.com/pYIjx.png)
result
![enter image description here](https://i.stack.imgur.com/On9fn.png)
Example
I've created an example file for you: Tournament