Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / September 2006

Tip: Looking for answers? Try searching our database.

Comparing more than two variables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LrdNikon - 05 Sep 2006 19:21 GMT
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?
Bernard Liengme - 05 Sep 2006 19:54 GMT
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
Signature

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

>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
[quoted text clipped - 14 lines]
> 'RED'
> as their favorite color?
mkahmu@gmail.com - 06 Sep 2006 20:32 GMT
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

> 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
[quoted text clipped - 11 lines]
> I would like to know how many FEMALES, age 21-30, with BROWN hair have 'RED'
> as their favorite color?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.