Hi there,
I have a data set containing the numbers 1-8 with each representing a particular variable. I would like to determine the frequency of each variable. I can do this if there is only one variable in each cell. However, some cells contain multiple variables separated by a comma.
For example, if I have a column of data that looks like this:
Z2 1,5,6
Z3 2,4
Z4 1,4
Z5 4,5
I want to generate a list like this:
1= 2
2= 1
3= 0
4= 3
5= 2
6= 0
7= 0
8= 0
I have tried using the formula =countif(z2:z5;1) for each variable, but it doesn't work when there are multiple variables in a single cell. Any ideas??
Thanks
I have a data set containing the numbers 1-8 with each representing a particular variable. I would like to determine the frequency of each variable. I can do this if there is only one variable in each cell. However, some cells contain multiple variables separated by a comma.
For example, if I have a column of data that looks like this:
Z2 1,5,6
Z3 2,4
Z4 1,4
Z5 4,5
I want to generate a list like this:
1= 2
2= 1
3= 0
4= 3
5= 2
6= 0
7= 0
8= 0
I have tried using the formula =countif(z2:z5;1) for each variable, but it doesn't work when there are multiple variables in a single cell. Any ideas??
Thanks