Forum Discussion

yashank_p's avatar
yashank_p
Copper Contributor
Jun 17, 2024
Solved

Formula Help: Count Unique Domains per Account ID

Hello Community!

 

I have an Excel file with two columns: Account ID and Domain Name. A single Account ID can have multiple Domain Names associated with it. In other words, the relationship between Account ID and Domain Name is one-to-many (1:N). What's the best way to pull the number of UNIQUE domains associated with a specific account ID? Here is what the sample data might look like:

 

Account IDDomain Name
1234f.com
1234e.com
1234g.com
4321a.com
4321b.com
4321

b.com

5678z.com
5678

y.com

 

For Account ID 1234, there are 3 unique domains. Similarly, there are 2 unique domains for account IDs 4321 and 5678. Can anyone please assist.

10 Replies

Resources