C
Charles Deng
I have a huge data set which contains variables of Dept,
Section, q1 to q5. (q1 to q5 are five questions asked in
a survey). Now I need to calculate means for each question
by section. Then I need to move these means to the other
colums. The data set format is like this:
Dept Section q1 q2 q3 q4 q5
ACC 100 2 1 3 4 1
ACC 100 3 2 4 2 1
ACC 200 3 2 4 3 2
ACC 200 3 2 3 2 1
BUS 100 4 4 3 2 1
BUS 100 2 2 3 2 1
BUS 200 4 3 2 1 2
I need to calculate the mean of respondense to these five
questions for each section within department. Then I need
to move these means for each section (with dept and
section names) to new columns.
After I moved these means to new columns, I need to sort
the mean of each section by questions within department,
for example, for question 1 (q1), there are mean for ACC
100, mean for ACC 200, mean for BUS 100, and mean for BUS
200. I need to sort these means within each department.
Can I do these using Excel? I mean I don't want to do
these manually. Thanks a lot.
Charles
Section, q1 to q5. (q1 to q5 are five questions asked in
a survey). Now I need to calculate means for each question
by section. Then I need to move these means to the other
colums. The data set format is like this:
Dept Section q1 q2 q3 q4 q5
ACC 100 2 1 3 4 1
ACC 100 3 2 4 2 1
ACC 200 3 2 4 3 2
ACC 200 3 2 3 2 1
BUS 100 4 4 3 2 1
BUS 100 2 2 3 2 1
BUS 200 4 3 2 1 2
I need to calculate the mean of respondense to these five
questions for each section within department. Then I need
to move these means for each section (with dept and
section names) to new columns.
After I moved these means to new columns, I need to sort
the mean of each section by questions within department,
for example, for question 1 (q1), there are mean for ACC
100, mean for ACC 200, mean for BUS 100, and mean for BUS
200. I need to sort these means within each department.
Can I do these using Excel? I mean I don't want to do
these manually. Thanks a lot.
Charles