clearexceldoubts
New Member
- Joined
- Jun 2, 2015
- Messages
- 4
I have two columns, containing a person's data on repeated measurements and other one with the presence or absence of a characteristic.
Data reads like this;
[TABLE="width: 50"]
<tbody>[TR]
[TD]PatientID[/TD]
[TD]Characteristic
Yes/No[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]N[/TD]
[/TR]
</tbody>[/TABLE]
I want the number of unique cases used to get the frequencies in other variable. For Ex:
Y - 5 (from 3 cases/patients)
N - 6 (from 5 cases/patients).
How do I do this using Excel. I have several characteristics like this.
Data reads like this;
[TABLE="width: 50"]
<tbody>[TR]
[TD]PatientID[/TD]
[TD]Characteristic
Yes/No[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]N[/TD]
[/TR]
</tbody>[/TABLE]
I want the number of unique cases used to get the frequencies in other variable. For Ex:
Y - 5 (from 3 cases/patients)
N - 6 (from 5 cases/patients).
How do I do this using Excel. I have several characteristics like this.