Hi
I need a formula which will count how many distinct values I have in a particular field in my dataset – I envisage something similar to COUNTIFS / SUMIFS. Below is a screenshot of my data:
The formula needs to count the number of distinct Customer IDs in a country but have the ability to add other conditions. For example, determining the number of distinct Customer IDs in Brazil who are Corporate Customers. I envisage this to be a stand-alone formula in a cell rather producing a list of countries. Below is a visualisation which may help:
I’ve also pasted the data as text to copy into Excel:
Country Customer ID Customer Type Sales ID
Argentina A515 Corporate B22598
Australia M877 Retail H98748
Bangladesh Y874 Retail K85974
Argentina A515 Corporate B58748
Belgium D874 Corporate Z87489
Australia S597 Retail H48712
Brazil T282 Corporate Q19123
Australia S597 Retail J98194
Austria F487 Corporate Q87458
Bahrain W874 Corporate U89859
Argentina A522 Retail C59845
Belgium D874 Corporate R88872
Belgium R784 Retail R11165
Brazil F456 Corporate D90822
Canada J765 Retail S90232
Chile A453 Retail A98123
Brazil F456 Corporate P00983
Brazil F456 Corporate S87321
Brazil K987 Corporate D90921
Chile P890 Retail A09123
Chile P890 Retail H34098
Thank you in advance for your help, much appreciated.
I need a formula which will count how many distinct values I have in a particular field in my dataset – I envisage something similar to COUNTIFS / SUMIFS. Below is a screenshot of my data:
The formula needs to count the number of distinct Customer IDs in a country but have the ability to add other conditions. For example, determining the number of distinct Customer IDs in Brazil who are Corporate Customers. I envisage this to be a stand-alone formula in a cell rather producing a list of countries. Below is a visualisation which may help:
I’ve also pasted the data as text to copy into Excel:
Country Customer ID Customer Type Sales ID
Argentina A515 Corporate B22598
Australia M877 Retail H98748
Bangladesh Y874 Retail K85974
Argentina A515 Corporate B58748
Belgium D874 Corporate Z87489
Australia S597 Retail H48712
Brazil T282 Corporate Q19123
Australia S597 Retail J98194
Austria F487 Corporate Q87458
Bahrain W874 Corporate U89859
Argentina A522 Retail C59845
Belgium D874 Corporate R88872
Belgium R784 Retail R11165
Brazil F456 Corporate D90822
Canada J765 Retail S90232
Chile A453 Retail A98123
Brazil F456 Corporate P00983
Brazil F456 Corporate S87321
Brazil K987 Corporate D90921
Chile P890 Retail A09123
Chile P890 Retail H34098
Thank you in advance for your help, much appreciated.