Help!

Is This a Pivot? A SumProduct? A SumPivot? Matrix?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions RSS
Next:  how do i stop delete block confirmation  
Author Message
RJB
External


Since: Jan 17, 2005
Posts: 22



PostPosted: Tue May 12, 2009 7:03 pm    Post subject: Is This a Pivot? A SumProduct? A SumPivot? Matrix?
Archived from groups: microsoft>public>excel>misc (more info?)

Received a report from Excel, a survey. Sixteen respondents, each row of the
report is one answer to one question from one respondent. In other words:

RESP | TOPIC | QUESTION | RESPONSE
=================================
Adam | Envir. | Quest. 1 | 4
Adam | Envir. | Quest. 2 | 3
Adam | Mt'ls. | Quest. 3 | 4
Adam | Mt'ls. | Quest. 4 | 4
Brian | Envir. | Quest. 1 | 5
Brian | Envir. | Quest. 2 | 4
Brian | Mt'ls. | Quest. 3 | 4
Brian | Mt'ls. | Quest. 4 | 3
.... and so on, to respondent 'n'.

I'd like a report that reads as follows:

ENVIR.
Quest. 1
A | 4
B | 5
....
n | 4
====
Avg. 4.3

Quest. 2
A | 3
B | 4
....
n | 4
===
Avg. 3.67

MAT'LS.
Quest. 3

etc. etc. etc.



I'm playing with in in Access, but also in Excel.

I created a table that with respondents' ID's across the top (so each
respondent is a column), ran the questions down column A (so each row is one
question). That is, Cell B2 is person A's answer to Q1, C3 is person B's
answer to Q2, Xn is person W's answer to Qn-1, etc.

I was trying to figure out how I can write a formula for a cell that says,
Look at the respondent's ID (in cell X$1), and populate his answer to
question number n (question number in cell $An).

I created a 'fake' Key for each row in my dataset, based on "=(Respondent ID
& Question Number)". So I ran a VLOOKUP for (X$1&$An), but I really thought
SumProduct would do the same thing.

How do one find info based on two different cells in a matrix?
Back to top
Pecoflyer
External


Since: May 13, 2009
Posts: 1



PostPosted: Wed May 13, 2009 3:10 am    Post subject: Re: Is This a Pivot? A SumProduct? A SumPivot? Matrix? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

HI,
one possibility would be using a Pivot Table, depending on what you
want to do further


RJB;343222 Wrote:
> Received a report from Excel, a survey. Sixteen respondents, each row of
> the
> report is one answer to one question from one respondent. In other
> words:
>
> RESP | TOPIC | QUESTION | RESPONSE
> =================================
> Adam | Envir. | Quest. 1 | 4
> Adam | Envir. | Quest. 2 | 3
> Adam | Mt'ls. | Quest. 3 | 4
> Adam | Mt'ls. | Quest. 4 | 4
> Brian | Envir. | Quest. 1 | 5
> Brian | Envir. | Quest. 2 | 4
> Brian | Mt'ls. | Quest. 3 | 4
> Brian | Mt'ls. | Quest. 4 | 3
> .... and so on, to respondent 'n'.
>
> I'd like a report that reads as follows:
>
> ENVIR.
> Quest. 1
> A | 4
> B | 5
> ....
> n | 4
> ====
> Avg. 4.3
>
> Quest. 2
> A | 3
> B | 4
> ....
> n | 4
> ===
> Avg. 3.67
>
> MAT'LS.
> Quest. 3
>
> etc. etc. etc.
>
>
>
> I'm playing with in in Access, but also in Excel.
>
> I created a table that with respondents' ID's across the top (so each
> respondent is a column), ran the questions down column A (so each row
> is one
> question). That is, Cell B2 is person A's answer to Q1, C3 is person
> B's
> answer to Q2, Xn is person W's answer to Qn-1, etc.
>
> I was trying to figure out how I can write a formula for a cell that
> says,
> Look at the respondent's ID (in cell X$1), and populate his answer to
> question number n (question number in cell $An).
>
> I created a 'fake' Key for each row in my dataset, based on
> "=(Respondent ID
> & Question Number)". So I ran a VLOOKUP for (X$1&$An), but I really
> thought
> SumProduct would do the same thing.
>
> How do one find info based on two different cells in a matrix?


--
Pecoflyer

Cheers -
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/showthread.php?t=96028
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum