Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Comparing more than two variables

I have some research data I need to tally and chart. I am looking at a
group of subjects that answered a 7-question test. I want to tally the
responses, and tally the total instances of each one compared to the others
(like how many answered yes to 1, 2, and 3 (or any other combination)). I
know pivot tables can give me 2 variables and how many of each gave an
answer, but I would like to do it for the whole test. Can anyone help me out?

For instance, example questions could be (for simplicity sake):
male or female:
age (0-20, 21-30, 31-50, 50+):
hair color (brown, black, blonde, or red):
favorite color (red, blue, green, or yellow):



I would like to know how many FEMALES, age 21-30, with BROWN hair have 'RED'
as their favorite color?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4,393
Default Comparing more than two variables

Let's say we have
In A2:A72 Gender (1 for M or 2 for F)
In B2:B72 age group (1,2,3...)
In 2:C72 favourite colour (1,2,3)
We will do the males first (of course!)
In F1:H1.... enter 1,2,3..... for the age groups
In E2:E5... enter 1,2,3 for colour preference
In F2 enter
=SUMPRODUCT(--($A$2:$A$72=1), --($B$2:$B$72=F$1), --($C2:$C72=$E2)
copy this across to H2 and then copy the F2:H2 down to row 5

Copy F1:H5 to K1
In the first formula change --($A$2:$A$72=1) to --($A$2:$A$72=2; copy the
formula down and across
Now you have the female data


OR: Filter the data to get females and do Pivot table
then filter to get males and made another pivot table

best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"LrdNikon" wrote in message
...
I have some research data I need to tally and chart. I am looking at a
group of subjects that answered a 7-question test. I want to tally the
responses, and tally the total instances of each one compared to the
others
(like how many answered yes to 1, 2, and 3 (or any other combination)). I
know pivot tables can give me 2 variables and how many of each gave an
answer, but I would like to do it for the whole test. Can anyone help me
out?

For instance, example questions could be (for simplicity sake):
male or female:
age (0-20, 21-30, 31-50, 50+):
hair color (brown, black, blonde, or red):
favorite color (red, blue, green, or yellow):



I would like to know how many FEMALES, age 21-30, with BROWN hair have
'RED'
as their favorite color?



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Comparing more than two variables

you may be able to do these type of charts in a program called "insight
a2", it can connect to excel and do charting of more than one variable.
google for it.
Mark


LrdNikon wrote:
I have some research data I need to tally and chart. I am looking at a
group of subjects that answered a 7-question test. I want to tally the
responses, and tally the total instances of each one compared to the others
(like how many answered yes to 1, 2, and 3 (or any other combination)). I
know pivot tables can give me 2 variables and how many of each gave an
answer, but I would like to do it for the whole test. Can anyone help me out?

For instance, example questions could be (for simplicity sake):
male or female:
age (0-20, 21-30, 31-50, 50+):
hair color (brown, black, blonde, or red):
favorite color (red, blue, green, or yellow):



I would like to know how many FEMALES, age 21-30, with BROWN hair have 'RED'
as their favorite color?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE-submitting of: constructing (complex) variables with worksheet functions broer konijn Excel Worksheet Functions 0 June 13th 06 11:36 AM
Bubble Charts with two non-numerical variables andy62 Excel Worksheet Functions 2 May 22nd 06 01:08 AM
constructing (complex) variables with worksheet functions broer konijn Excel Discussion (Misc queries) 0 May 16th 06 10:55 PM
VBA reseting variables Jeff Excel Discussion (Misc queries) 0 February 4th 06 08:22 PM
VBA reseting variables bpeltzer Excel Discussion (Misc queries) 0 February 4th 06 03:52 PM


All times are GMT +1. The time now is 11:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"