angeinsydney
New Member
- Joined
- Apr 17, 2013
- Messages
- 4
Hi there,
I'm pretty new to this forum but have been using it to help me find answers to excel forumlas for a while. I'm hoping someone on the forum can help.
I have a huge list of survey responses which asks people to identify their location and then rate how important 6 facilities in their area is (rating 1 - 4, 4 being most important).
So the table has cells are similar to this, except that there are about 5000 responses with about 2500 different locations identified
[TABLE="width: 644"]
<tbody>[TR]
[TD]Location
[/TD]
[TD]Location
[/TD]
[TD]Location
[/TD]
[TD]Medical Centres
[/TD]
[TD]Shopping
[/TD]
[TD]Groceries
[/TD]
[TD]Transport
[/TD]
[TD]Schools
[/TD]
[TD]Parks
[/TD]
[/TR]
[TR]
[TD]Shepherd's Bush
[/TD]
[TD]Earl's Court
[/TD]
[TD]Waterloo
[/TD]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]2
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Camden
[/TD]
[TD]Islington
[/TD]
[TD]
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Hounslow
[/TD]
[TD]Wimbledon
[/TD]
[TD]
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]
I have been able to analyse the average results for the whole dataset by using the following formulas:
=COUNTIF(A2:C4,"camden") Count number of occurrences a location is listed
=ROUND(AVERAGE(D2:D4),2) Average response for medical centres
=COUNTIF(D2:D4,1) Counts number of times '1' comes up, would repeat '2', '3', and '4' to create a pie graph
But what I would really like to do it be able to count each response for each question by location (for example "Camden"). I’ve tried both of these but they don’t seem to be working.
[TABLE="width: 197"]
<tbody>[TR]
[TD]=IF(A2:C4,"camden"),COUNTIF(D2:D4),1
[/TD]
[/TR]
[TR]
[TD]=COUNTIF(D2:D4),1,IF(A2:C4,"camden")
[/TD]
[/TR]
</tbody>[/TABLE]
Can anyone help?
I'm pretty new to this forum but have been using it to help me find answers to excel forumlas for a while. I'm hoping someone on the forum can help.
I have a huge list of survey responses which asks people to identify their location and then rate how important 6 facilities in their area is (rating 1 - 4, 4 being most important).
So the table has cells are similar to this, except that there are about 5000 responses with about 2500 different locations identified
[TABLE="width: 644"]
<tbody>[TR]
[TD]Location
[/TD]
[TD]Location
[/TD]
[TD]Location
[/TD]
[TD]Medical Centres
[/TD]
[TD]Shopping
[/TD]
[TD]Groceries
[/TD]
[TD]Transport
[/TD]
[TD]Schools
[/TD]
[TD]Parks
[/TD]
[/TR]
[TR]
[TD]Shepherd's Bush
[/TD]
[TD]Earl's Court
[/TD]
[TD]Waterloo
[/TD]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]2
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Camden
[/TD]
[TD]Islington
[/TD]
[TD]
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Hounslow
[/TD]
[TD]Wimbledon
[/TD]
[TD]
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]
I have been able to analyse the average results for the whole dataset by using the following formulas:
=COUNTIF(A2:C4,"camden") Count number of occurrences a location is listed
=ROUND(AVERAGE(D2:D4),2) Average response for medical centres
=COUNTIF(D2:D4,1) Counts number of times '1' comes up, would repeat '2', '3', and '4' to create a pie graph
But what I would really like to do it be able to count each response for each question by location (for example "Camden"). I’ve tried both of these but they don’t seem to be working.
[TABLE="width: 197"]
<tbody>[TR]
[TD]=IF(A2:C4,"camden"),COUNTIF(D2:D4),1
[/TD]
[/TR]
[TR]
[TD]=COUNTIF(D2:D4),1,IF(A2:C4,"camden")
[/TD]
[/TR]
</tbody>[/TABLE]
Can anyone help?