Top of the Pops?

uk

Board Regular
Joined
Nov 4, 2003
Messages
101
I have an access database that has the name of clients say 100 clients and the value they owe £/$. I need to get a list which shows the top 60% of the clients who owe the most.

I cant use the Top Values button as this will just give me the the wrong list..
If I have 100 customers and I select 60% of the TOP value, it will give 60% of the total number of clients - 60 and not the clients that owe 60% of the total!

As one client could owe more then 60% of the total or two clients..

can any one help?
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
What do you want to retun 60% of?
I need to get a list which shows the top 60% of the clients who owe the most

it will give 60% of the total number of clients - 60 and not the clients that owe 60% of the total!


Edit ( hit wrong button)The Top 60% will give you the top 60 records out of 100 in decending order of the sorted field.

Peter
 
Upvote 0
I am after the customers that have the highest owed values that adds up to 60% of the total.
 
Upvote 0
I don't think that you can do this in a query. It may be possible to do it in a report using a running total. It is probably easiest to use code to create a table with justyou top 60% but it will not be dynamic and will need updating before use each time.

Do you want to round up or down for the 60%? ie;-
Cust A owes 42%
Cust B owes 38%
Do include Cust B or not?

How about a draw?

Cust A owes 50%
Cust B owes 10%
Cust C owes 10%
Cust D owes 10%

Just Show A, Show all or cut off arbitarily at 60%?

Peter
 
Upvote 0

Forum statistics

Threads
1,221,713
Messages
6,161,463
Members
451,708
Latest member
PedroMoss2268

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