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

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
6,148
Office Version
  1. 365
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,127,294
Messages
5,623,829
Members
415,993
Latest member
Nawlins

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