JBlack
New Member
- Joined
- Sep 13, 2014
- Messages
- 1
Hello!
I'm struggling with the following problem.
I have a long list of data like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Telephone[/TD]
[TD]No. Customers[/TD]
[TD]Sales[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Emily[/TD]
[TD]City[/TD]
[TD]1234567890[/TD]
[TD]778[/TD]
[TD]12,123[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Andrew[/TD]
[TD]City[/TD]
[TD]1234567889[/TD]
[TD]6[/TD]
[TD]678[/TD]
[/TR]
</tbody>[/TABLE]
What I want to do is to get 100 people (Name, City, Telephone), whose ration of Sales to Customers is the biggest.
In this case it would be Andrew.
I'm struggling with the following problem.
I have a long list of data like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Telephone[/TD]
[TD]No. Customers[/TD]
[TD]Sales[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Emily[/TD]
[TD]City[/TD]
[TD]1234567890[/TD]
[TD]778[/TD]
[TD]12,123[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Andrew[/TD]
[TD]City[/TD]
[TD]1234567889[/TD]
[TD]6[/TD]
[TD]678[/TD]
[/TR]
</tbody>[/TABLE]
What I want to do is to get 100 people (Name, City, Telephone), whose ration of Sales to Customers is the biggest.
In this case it would be Andrew.