Hello!
I have a funny concatenation problem...
My data is spread out as follows : Each person is asked 3 questions. I need to figure out the number of people who answered yes to the different questions. If they said Yes to more than one question then they need to be grouped (concatenated) and summarized...
# = person
A, B, or C are the types of questions
Y or N are the only possible answers
# Question Answer
1 A Y
1 B Y
3 C N
2 A N
2 B Y
2 C Y
3 A Y
3 B N
3 C N
4 A Y
4 B Y
4 C N
5 A Y
5 B Y
5 C Y
This is what I'm looking for:
Category Y
A 1
A + B 2
B + C 1
A + B + C 1
For example - person 1 and 4 both answered Y to questions A and B.
So somehow I'm concatenating the questions together where the answer is Y and I'm counting the number of Y's as well..
Nothing is impossible!! But how can I do this??
Nowanda
I have a funny concatenation problem...
My data is spread out as follows : Each person is asked 3 questions. I need to figure out the number of people who answered yes to the different questions. If they said Yes to more than one question then they need to be grouped (concatenated) and summarized...
# = person
A, B, or C are the types of questions
Y or N are the only possible answers
# Question Answer
1 A Y
1 B Y
3 C N
2 A N
2 B Y
2 C Y
3 A Y
3 B N
3 C N
4 A Y
4 B Y
4 C N
5 A Y
5 B Y
5 C Y
This is what I'm looking for:
Category Y
A 1
A + B 2
B + C 1
A + B + C 1
For example - person 1 and 4 both answered Y to questions A and B.
So somehow I'm concatenating the questions together where the answer is Y and I'm counting the number of Y's as well..
Nothing is impossible!! But how can I do this??
Nowanda