Forum Discussion

Vaibhav002's avatar
Vaibhav002
Copper Contributor
Nov 17, 2022
Solved

Require unique count in pivot or using formula

Hi all,

 

Need a quick help in figuring out the count of unique customers served by a broker.The data I have is across category and hence its possible that one broker is serving the same customer across multiple categories and hence the count in pivot is not unique.I am attaching a sample input and output data.Please suggest how can this be achieved.Thanks!

INPUT:

Broker NameCustomer NameCategory
Broker 1Customer 1Category 1
Broker 1Customer 1Category 2
Broker 1Customer 1Category 3
Broker 1Customer 1Category 4
Broker 2Customer 2Category 1
Broker 3Customer 1Category 1
Broker 3Customer 3Category 2

 

Desired OUTPUT using formula or pivot

 

Broker NameCount of unique customer serviced
Broker 11
Broker 21
Broker 32

Resources