megera716
Board Regular
- Joined
- Jan 3, 2013
- Messages
- 150
- Office Version
- 365
- Platform
- Windows
Complicated for me anyway 
I have a range with ~18,000 rows called Clients and another range with 200 rows called Names where I'm trying to calculate.
I put a COUNTIFS in Column C that counts the records that contain Name A, B or C AND Location 1.
C3:
There are 143 clients for Location 1, and the three people assigned to this location account for 124 of them. The other 19 are assigned to one of several names but I don't care about those.
Basically, what formula can I put in the Names range to count all the records in Clients that have any name that is assigned to Location 1 in the Names range (there might be just 3 as in my over-simplified example or there might be 37)? I will be working with the same 40ish locations every month but the Names assigned to a Location can and do change month to month so it has to be based on what is in Names.

I have a range with ~18,000 rows called Clients and another range with 200 rows called Names where I'm trying to calculate.
I put a COUNTIFS in Column C that counts the records that contain Name A, B or C AND Location 1.
C3:
Excel Formula:
=COUNTIFS(Clients!$C$3:$C$18261,$A3,Clients!$A$3:$A$18261,$B3)
There are 143 clients for Location 1, and the three people assigned to this location account for 124 of them. The other 19 are assigned to one of several names but I don't care about those.
Basically, what formula can I put in the Names range to count all the records in Clients that have any name that is assigned to Location 1 in the Names range (there might be just 3 as in my over-simplified example or there might be 37)? I will be working with the same 40ish locations every month but the Names assigned to a Location can and do change month to month so it has to be based on what is in Names.