TommyTenenbaum
New Member
- Joined
- Jul 25, 2018
- Messages
- 1
Dear all,
I have a file with some raw data where I have 3 columns: Client code / Salesperson / Sales (in $)
I would like to find a way to display the top 3 salesperson for each Client code in another table, with 4 Columns: Client Code / Salesperson 1 / Salesperson 2 / Salesperson 3.
I tried looking for ways to do that online, I found a sumproduct function with some double negatives that helped me to rank the salespeople but I didn't know what to do next with the ranks I got...
Please bear in mind that I don't have 3 clients but 10K+ and 7K+ Salespeople in my raw database.
You can find below a simple example to illustrate what I would like to get.
Thanks a lot for your help!!
Raw data:
<colgroup><col><col span="2"><col></colgroup><tbody>
</tbody>
I have a file with some raw data where I have 3 columns: Client code / Salesperson / Sales (in $)
I would like to find a way to display the top 3 salesperson for each Client code in another table, with 4 Columns: Client Code / Salesperson 1 / Salesperson 2 / Salesperson 3.
I tried looking for ways to do that online, I found a sumproduct function with some double negatives that helped me to rank the salespeople but I didn't know what to do next with the ranks I got...
Please bear in mind that I don't have 3 clients but 10K+ and 7K+ Salespeople in my raw database.
You can find below a simple example to illustrate what I would like to get.
Thanks a lot for your help!!
Raw data:
Client Code | Salesperson | Sales | |
Client 1 | Jeff | 200 | |
Client 1 | Lisa | 600 | |
Client 2 | Tom | 100 | |
Client 2 | Albert | 350 | |
Client 2 | Karen | 400 | |
Client 3 | Karen | 200 | |
Client 3 | Ana | 400 | |
Table where I want the names displayed: | |||
Client Code | Salesperson #1 | Salesperson #2 | Salesperson #3 |
Client 1 | ? | ? | ? |
Client 2 | ? | ? | ? |
Client 3 | ? | ? | ? |
<colgroup><col><col span="2"><col></colgroup><tbody>
</tbody>