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
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Why not append each table so that for analysis purposes you have one table. Then run your distinct count against the aggregated table.
 
Upvote 0
Solution

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,557
Latest member
richa mishra

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
Back
Top