Filter using subtotal or countif question

Cowichandave

New Member
Joined
Jan 18, 2009
Messages
44
Office Version
  1. 2016
I have database with 10000 clients which have any of 25 salepeople managing their own clients
I want to fllter 3 fields. 1) Salerep 2) Client 3)Date last sold

At present i use "subtotal(3,range,range)" and am able to select a salesperson and see their client list with date last sold as part of the list.
If I want to know how many clients from 2022, I have to use the dropdown and filter that manually.
I want to go furthur and break it down so that when a saleperson is selected, their client list shows total clients and count of clients from 2022 2021, 2020

Right now if i pick a salesperson and he has 500 clients, to see how many are from 2022 the dropdown might show 300, 2021 might show 150 and 2020 might show 50 doing it manually

I would like to able to pick a salesperson and have all the fields populated automatically showing total clients and a breakdown for each year at the top above the data table.

Appreciate any suggestions
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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