I have 2 tabs:
1. One is a large data sheet that has a bunch of client names and amounts (note for example like Google can appear more than once, so I would need the total amount, etc).
2. The second tab is a top sheet that I've been manually summing the top 20 clients, removing duplicates, etc.
Is there a way to write a macro to automatically find the top 20 clients and paste it into my top sheet? For reference, the large data sheet has amounts in column "U", client name in column "B". The second tab (top sheet), which I need client names to be pasted in, is in column B of that sheet.
I only need a way to find the top 20 clients. The top sheet I can pull numbers in through sumifs based on the client name.
1. One is a large data sheet that has a bunch of client names and amounts (note for example like Google can appear more than once, so I would need the total amount, etc).
2. The second tab is a top sheet that I've been manually summing the top 20 clients, removing duplicates, etc.
Is there a way to write a macro to automatically find the top 20 clients and paste it into my top sheet? For reference, the large data sheet has amounts in column "U", client name in column "B". The second tab (top sheet), which I need client names to be pasted in, is in column B of that sheet.
I only need a way to find the top 20 clients. The top sheet I can pull numbers in through sumifs based on the client name.