DistinctCount of the Distinct Count (Unique variables across three tables)

rehabguru

New Member
Joined
Sep 8, 2014
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Dear collective gurus

Thank you for your advice...I have three separate tables containing non sensitive appointment details for three clinics. I can perform a distinctcount(tableone[HealthID]) / two / three etc to get the unique number of different people attending each clinic. My question relates to the overlap of clinics. How do I calculate the number of unique people attending all of the clinics combined?

I am sure FILTER pops in there somewhere but it clearly isn't the distinctcount of the distinctcounts - if you see what I mean. In a Venn diagramm it would be the people who feature in either one, two or all three clinics.
I am happy to provide a table if this elaborates but I am positive the collective brainpower will solve this in a heartbeat (one of the clinics by the way ;))

Many thanks

Dougie
 

Some videos you may like

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
6,140
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Why not append each table so that for analysis purposes you have one table. Then run your distinct count against the aggregated table.
 
Solution

Watch MrExcel Video

Forum statistics

Threads
1,126,928
Messages
5,621,639
Members
415,849
Latest member
PhoenixRising2015

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top