+ Reply to Thread
Results 1 to 10 of 10

Pivot table for a survey with likert scale answers (need to filter down to sub-population)

  1. #1
    Registered User
    Join Date
    02-10-2010
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Pivot table for a survey with likert scale answers (need to filter down to sub-population)

    There is just one thing between me and a few days of rest - and I am a bit stuck and would like some input from you kind people.
    ------------------------------

    Aim: To show survey results (table or graph) based on filter (sub-set of the population surveyed)
    Input: A huge table full of survey results - please find a sample below in the attachment
    Book1.xlsx


    How do I build a pivot table which can let me find out number of "Agree", "Disagree" etc. for people from the UK, France, US, US who own Mac, people who own Mac etc.



    Can anyone please help with this? I would really appreciate it if you could give some pointers!
    Last edited by gowthamj; 12-22-2014 at 05:10 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Pivot table for a survey with likert scale answers (need to filter down to sub-populat

    You want a result that looks like this?

    Row\Col
    N
    O
    P
    Q
    R
    3
    Country (All)
    4
    OS (All)
    5
    Gender (All)
    6
    7
    Sum of Highly Disagree Sum of Disagree Sum of Neutral Sum of Agree Sum of Highly Agree
    8
    3
    8
    0
    9
    7
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-10-2010
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Pivot table for a survey with likert scale answers (need to filter down to sub-populat

    Hi shg,

    Thanks for your reply.

    I need a count/sum of highly disagree, disagree, neutral, agree and highly agree by each question for the filter selected.

    The problem I have now is that "Agree, Disagree etc." when used as label only relate to that particular question and isn't viewed as global list applicable to all questions.

    Please could you provide some insight? I am in a bit of a mess with this at the moment. Please suggest if there is a better way to organise data.

    Thanks,
    G


    Edit: I should clarify that the final output I am looking for is average score for each question e.g. 4.25 for Do you like your OS? In case there is a different approach to this
    Last edited by gowthamj; 12-22-2014 at 07:29 PM.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Pivot table for a survey with likert scale answers (need to filter down to sub-populat

    See the workbook at https://app.box.com/s/hve66ycm5oqdkw4aoel7

    I should add that I am no pivot table wiz, and someone may be able to suggest a better way to do this than by deconstructing the source data.

  5. #5
    Registered User
    Join Date
    02-10-2010
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Pivot table for a survey with likert scale answers (need to filter down to sub-populat

    Thanks shg for your effort and help. My "real data" contains around 27 questions with around 1000 expected participants, who fall into 21/4/16 buckets (like countries, gender) and 20 questions, so would require me to make c.27,000 rows for Cartesian product idea. Is this the elegant solution for this problem? Is there a way to automatically populate that static list?

    Thanks
    Last edited by gowthamj; 12-22-2014 at 07:40 PM.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Pivot table for a survey with likert scale answers (need to filter down to sub-populat

    Oops -- I reckon that is highly redundant. Hang on ...

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Pivot table for a survey with likert scale answers (need to filter down to sub-populat

    Input compressed a bit:

    Row\Col
    A
    B
    C
    D
    E
    F
    1
    Country
    OS type
    Gender
    Like OS?
    Like programming?
    OS problems?
    2
    France Mac Male HD A A
    3
    France Mac Male HA HD D
    4
    France Windows Female A HA HD
    5
    Germany Windows Female A HA HA
    6
    UK Mac Male A D D
    7
    UK Mac Male HA A HA
    8
    UK Windows Female HA A D
    9
    UK Windows Female D D A
    10
    USA Mac Male D A D


    Then:

    Row\Col
    H
    I
    J
    K
    L
    M
    N
    O
    1
    Country UK
    2
    OS Mac
    3
    Gender Male
    4
    5
    HD
    D
    N
    A
    HA
    6
    Like OS?
    0
    0
    0
    1
    1
    I6: =SUMPRODUCT((tblCtry = $I$1) * (tblOS = $I$2) * (tblGen = $I$3) * (INDEX(tblAs, 0, MATCH($H6, tblQs, 0)) = I$5))
    7
    Like programming?
    0
    1
    0
    1
    0
    8
    OS problems?
    0
    1
    0
    0
    1

  8. #8
    Registered User
    Join Date
    02-10-2010
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Pivot table for a survey with likert scale answers (need to filter down to sub-populat

    Hi,

    I am really impressed and grateful for your help.

    Two things:
    1) Could you please send me the excel sheet so I know what table is what?
    2) Could you please let me know how, if possible at all, I can make the Cells I1:I3 be dropdown lists WITH multiple selections? i.e. I can choose Male+Female in UK+France+USA

    Many many many thanks.

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Pivot table for a survey with likert scale answers (need to filter down to sub-populat

    You're welcome. Uploaded at same link.

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Pivot table for a survey with likert scale answers (need to filter down to sub-populat

    If you change the formula to use CountIfs instead of SumProduct, you can do a wildcard match:

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    1
    Country *
    2
    OS Mac
    3
    Gender *
    4
    5
    HD
    D
    N
    A
    HA
    6
    Like OS?
    1
    1
    0
    1
    2
    B6: =COUNTIFS(tblCtry, $B$1, tblOS, $B$2, tblGen, $B$3, INDEX(tblAs, 0, MATCH($A6, tblQs, 0)), B$5)
    7
    Like programming?
    1
    1
    0
    3
    0
    8
    OS problems?
    0
    3
    0
    1
    1

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Likert-scale
    By molly78 in forum Excel General
    Replies: 14
    Last Post: 08-11-2014, 03:54 AM
  2. [SOLVED] Likert Scale Survey
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-12-2013, 06:00 PM
  3. Likert scale analysis - before and after
    By maggiec in forum Excel General
    Replies: 0
    Last Post: 05-17-2011, 06:38 PM
  4. Likert scale analysis and pivot table consolidation
    By komic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-08-2009, 03:58 PM
  5. Replies: 0
    Last Post: 05-16-2005, 06:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1