Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Count unique values in a column depending on unique values in a second column

$
0
0

I am having a table that lists salespersons, to which company they outreach, and which outreach channel (e.g. email, call etc.) they are using. I am interested in calculating how many times a unique salesperson reached out by the respective channel but to only count unique companies. I.e. if a salesperson called the same company 2 or more times I only want to count it once. This is part of the table:

enter image description here

Now if I try to calculate it in the yellow cell, the following formula:

=(COUNTIFS(B:B,A1,D:D,"Call"))

returns three because I couldn't find a way how I bring column B (Company) into the picture. Does anyone know how I can achieve the desired result of counting only 2 as Marc called three times but two times into the same company (A)?


Viewing all articles
Browse latest Browse all 9782

Trending Articles