Hi all! This is my first post on here so go easy on me! I've searched all over the web and in this forum for a solution but I can't seem to find anything explaining what I'm really trying to do. Been stuck on this for a few days so now I'm coming to ask for help!
So I have a spreadsheet full of patients appointments and who they were referred to the company by. I want to try and count the number of times a referral source has provided a new patient to the company. My list however contains all the appointments these people have had and therefore the referral source is listed each time. This isn't ideal as I only need to count the referral source the one time per patient. I've tried all kinds of different things and nothing seems to work for me sadly.
So the data looks as follows
[TABLE="width: 300"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Mario[/TD]
[TD]Insurer[/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Clinician[/TD]
[/TR]
[TR]
[TD]Phil[/TD]
[TD]Website[/TD]
[/TR]
[TR]
[TD]Liam[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]David[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]Alexi[/TD]
[TD]Clinician[/TD]
[/TR]
[TR]
[TD]Rob[/TD]
[TD]Website[/TD]
[/TR]
[TR]
[TD]Ana[/TD]
[TD]Clinician[/TD]
[/TR]
[TR]
[TD]David[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]William[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Clinician[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]Phil[/TD]
[TD]Website[/TD]
[/TR]
[TR]
[TD]Phil[/TD]
[TD]Website[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 300"]
<tbody>[TR]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Clinician[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]Insurer[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]Website[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]GP[/TD]
[TD]?[/TD]
[/TR]
</tbody>[/TABLE]
So hopefully someone can help me out with this
Should count
Clinician: 3
Insurer: 1
GP: 4
Website: 2
Thanks
So I have a spreadsheet full of patients appointments and who they were referred to the company by. I want to try and count the number of times a referral source has provided a new patient to the company. My list however contains all the appointments these people have had and therefore the referral source is listed each time. This isn't ideal as I only need to count the referral source the one time per patient. I've tried all kinds of different things and nothing seems to work for me sadly.
So the data looks as follows
[TABLE="width: 300"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Mario[/TD]
[TD]Insurer[/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Clinician[/TD]
[/TR]
[TR]
[TD]Phil[/TD]
[TD]Website[/TD]
[/TR]
[TR]
[TD]Liam[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]David[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]Alexi[/TD]
[TD]Clinician[/TD]
[/TR]
[TR]
[TD]Rob[/TD]
[TD]Website[/TD]
[/TR]
[TR]
[TD]Ana[/TD]
[TD]Clinician[/TD]
[/TR]
[TR]
[TD]David[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]William[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD]Clinician[/TD]
[/TR]
[TR]
[TD]Megan[/TD]
[TD]GP[/TD]
[/TR]
[TR]
[TD]Phil[/TD]
[TD]Website[/TD]
[/TR]
[TR]
[TD]Phil[/TD]
[TD]Website[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 300"]
<tbody>[TR]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Clinician[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]Insurer[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]Website[/TD]
[TD]?[/TD]
[/TR]
[TR]
[TD]GP[/TD]
[TD]?[/TD]
[/TR]
</tbody>[/TABLE]
So hopefully someone can help me out with this
Should count
Clinician: 3
Insurer: 1
GP: 4
Website: 2
Thanks