The Code Cage - Microsoft Office help Free Microsoft Office Help for all Applications!  

To stop seeing these ads and get other benefits check This page!

Go Back   The Code Cage Forums > Newsgroups - Microsoft Topics > Newsgroup - Excel Forum > Excel Miscellaneous


Excel Miscellaneous Post questions in this forum if they are related to using Microsoft Excel that doesn't quite fit in any other category e.g quirks, Formulae or built in functionality etc.

Hey there!

It looks like you're enjoying but haven't created an account yet. Why not take a minute to register for your own free account now? As a member you get free access to all of our forums and posts plus the ability to post your own messages, communicate directly with other members and much more. Register now!

Already a member? Login at the top of this page to stop seeing this message.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13th May 2009, 03:05 AM
RJB
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Default Is This a Pivot? A SumProduct? A SumPivot? Matrix?

------ Register to get rid of these "In Post" ads! ------


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?
Reply to this post


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
  #2 (permalink)  
Old 13th May 2009, 07:31 AM
Pecoflyer's Avatar
The Code Cage Staff
Spam Assasin
MS Office Version: MS Office 2003
MS Office Skill Level: Can use Formulae


My Top Tip Count: 0

 
Join Date: Nov 2008
Location: Brussels Belgium
Posts: 542
Thanks to others: 4
Thanked 4 Times in 4 Posts
Rep Power: 7
Pecoflyer will become famous soon enough
Belgium
Default Re: Is This a Pivot? A SumProduct? A SumPivot? Matrix?

------ Register to get rid of these "In Post" ads! ------


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


Quote:
Originally Posted by RJB View Post
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?
__________________
Cheers -
Reply to this post


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
Reply

Bookmarks

Tags
matrix, pivot, sumpivot, sumproduct

New topics in Excel Miscellaneous


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Forum Jump

The Code Cage Affilliates


To stop seeing these ads and get other benefits check This page!



All times are GMT +1. The time now is 03:13 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
No part of this board may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application the represent