dragonmouse
Board Regular
- Joined
- May 14, 2008
- Messages
- 131
- Office Version
- 2016
- Platform
- Windows
I want to count distinct stock numbers J4:J1226
I'm using formula =SUMPRODUCT(1/COUNTIF(J4:J1226,J4:J1226)) and it works pleasantly. Now I want to add one more problem. When I filter out perhaps stock numbers worked by a particular person I want it to return a count distinct subtotal.
I can usually use =SUBTOTAL(3, J4:J1226) and it will return a count all the items in that range but t a "distinct" count. I filter on EMPLOYEE NAME in column A (SMITH). SMITH worked 100 products but only 29 of those products were "unique".
IDEAS?
I'm using formula =SUMPRODUCT(1/COUNTIF(J4:J1226,J4:J1226)) and it works pleasantly. Now I want to add one more problem. When I filter out perhaps stock numbers worked by a particular person I want it to return a count distinct subtotal.
I can usually use =SUBTOTAL(3, J4:J1226) and it will return a count all the items in that range but t a "distinct" count. I filter on EMPLOYEE NAME in column A (SMITH). SMITH worked 100 products but only 29 of those products were "unique".
IDEAS?