•1 min read•from Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community
Count unique text combination across two columns with two conditions
I am trying count the total unique customer/item combinations for each unique combination of Sales Rep and Broker. Sales Rep and Broker should be two unique criteria. The desired output is in column C in the bottom table. The bottom table includes a list of all unique combinations of Sales Rep and Broker.
| Sales Rep | Broker | Customer | Item |
|---|---|---|---|
| Joey Chestnut | Broker1 | ABC Customer | Oranges |
| Joey Chestnut | Broker1 | ABC Customer | Apples |
| Joey Chestnut | Broker2 | 123 Customer | Peanuts |
| Stinky Willis | Broker2 | DEF Customer | Oranges |
| Sales Rep | Broker | Unique Customer/Items |
|---|---|---|
| Joey Chestnut | Broker1 | 2 |
| Joey Chestnut | Broker2 | 1 |
| Stinky Willis | Broker2 | 1 |
[link] [comments]
Want to read more?
Check out the full article on the original site