+ Reply to Thread
Results 1 to 13 of 13

Pivot table help - survey

  1. #1
    Registered User
    Join Date
    08-17-2013
    Location
    Milwaukee, USA
    MS-Off Ver
    Excel mac 2011
    Posts
    12

    Pivot table help - survey

    Hello there, hope someone can help.

    I am helping my wife in collating the data on some surveys she created for work. She is a designer of chukdrens clothes and created some activit sheets asking kids about their favorite colors etc.

    For instance, one of these asks the questions:

    What is your age?
    What is your favorite Sport? (Chosen from a list)
    What is your favorite Food? (Chosen from a list)
    What is your favorite Color? (Chosen from a list)
    What is your favorite Print? (Chosen from a list)

    I created a spreadsheet with drop down boxes for data entry, except age which was inputted manually. We have all the data inputted and I am now trying to make a pivot table with meaningful data. I would like to use the categories of 'sport, food, print, color' as my report filter - so I only need one table to show all my information. I cant quite seem to get this to work. In the end we would like to show that 'x amount of x year olds chose x as their favorite sport" etc.

    I place age into my row field (i will group these by age range later) but would like to choose 'SPORT' in my report filter and have the table show the sports (football, basketball etc) in the columns, with the count below per age. I hope this is clear! Here is an example of the data:

    AGE SPORT FOOD PRINT COLOR
    5 FOOTBALL BANANA CAMO ORANGE
    3 FOOTBALL HAMBURGER DINOSAUR LIGHT BLUE
    9 SOCCER PIZZA CAMO TURQUOISE
    9 BASEBALL BANANA STRIPES NAVY
    6 HOCKEY CHOCOLATE DINOSAUR ORANGE
    8 BASEBALL PIZZA FLAGS LIGHT GREY
    5 BASKETBALL ICE CREAM CAMO GREEN
    4 BASEBALL ICE CREAM PIRATE TURQUOISE
    5 HOCKEY HAMBURGER JET PLANES YELLOW
    7 BASKETBALL HOT DOG DINOSAUR YELLOW
    8 BASEBALL ICE CREAM JET PLANES TURQUOISE
    6 BASEBALL BANANA TIE DYE MEDIUM BLUE
    3 BASKETBALL CHOCOLATE STRIPES MINT

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Pivot table help - survey

    Hi,

    I have put together something that will hopefully be close to what it is that you are asking for. Please let me know what you want changed and I'll see what I can do for you.

    By filtering one of the categories in the report filter, you can see how many children of each age chose whatever you filtered.

    Hope this helps
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-17-2013
    Location
    Milwaukee, USA
    MS-Off Ver
    Excel mac 2011
    Posts
    12

    Re: Pivot table help - survey

    Hi!

    Thanks so much for your help!

    Is it possible to have the categories in the filter? i.e. so i can choose between 'Sport' 'Food' or 'Print', and then table would then show the ages in the row and the type of sport, or type of food, etc in the columns, with the values below?

    for instance, i would choose food and get the following:

    Food (filter)

    age pizza chocolate ice cream

    2 1 0 2
    4 0 3 4
    5 1 6 3

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot table help - survey

    How about posting your file, without confidential information.

    Please also add the desired (expected) result.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    08-17-2013
    Location
    Milwaukee, USA
    MS-Off Ver
    Excel mac 2011
    Posts
    12

    Re: Pivot table help - survey

    Thanks for your help, attached is a file.

    As you can see I have made separate pivot tables for each category (sport, print etc)

    But what I would ideally like is for all these categories to be in one pivot table, so I can select the category which would cause each sub category to show.

    For instance, I would choose 'sport' and the individual sports would appear with the amount chosen per age.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot table help - survey

    Maybe like this?

    With an pivot table.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-17-2013
    Location
    Milwaukee, USA
    MS-Off Ver
    Excel mac 2011
    Posts
    12

    Re: Pivot table help - survey

    Fantastic, but how would I then change it from Sport to show 'Print' or 'Color' results?

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot table help - survey

    Just drag and drop the wanted choise in the boxes.

    See the file for the data with food.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-17-2013
    Location
    Milwaukee, USA
    MS-Off Ver
    Excel mac 2011
    Posts
    12

    Re: Pivot table help - survey

    Is there a way I can change the categories from the pivot table itself? Without having to remove/add in the pivot table setup.

    So that someone looking at the table could change from looking at food to looking at color for instance?

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot table help - survey

    I don't see the advantace (you drop from the pivot table or you drop form the boxes).

    I don't know if that's possible (I believe it's not possible).

    Alternative could be making 4 pivot tables on 1 sheet.

  11. #11
    Registered User
    Join Date
    08-17-2013
    Location
    Milwaukee, USA
    MS-Off Ver
    Excel mac 2011
    Posts
    12

    Re: Pivot table help - survey

    Ok so I guess a separate pivot table for each category (sport, food etc) is the only way forward.

    One final separate question, In another sheet I have a column for the participants age, then they were asked to circle up to 5 of their favorite icons. These were entered under the columns 'icon 1' 'icon 2' 'icon 3' 'icon 4' 'icon 5', then the name of the icon entered below. (see attached picture)

    In the pivot table I want to show for instance how many 5 year olds chose the rocket icon. It doesn't matter if it was choice1, or choice 5 - I just want the overall number! Please help

    Please see attached file.

    Many thanks!
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Pivot table help - survey

    With an macro and an pivot table.

    See the attached file.
    Last edited by oeldere; 08-18-2013 at 12:53 PM.

  13. #13
    Registered User
    Join Date
    08-17-2013
    Location
    Milwaukee, USA
    MS-Off Ver
    Excel mac 2011
    Posts
    12

    Re: Pivot table help - survey

    That is fantastic! How would I do that for other sheets with similar layout? I noticed you used the animal field.

+ 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. Pivot Table Survey Data Multiple Questions, 5 Responses, Calculated Feilds
    By MysticGenius in forum Excel Charting & Pivots
    Replies: 20
    Last Post: 07-17-2019, 11:34 PM
  2. Survey Sorting - Pivot-Tables
    By twinturbo2fast in forum Excel General
    Replies: 4
    Last Post: 02-11-2011, 12:04 AM
  3. [SOLVED] Using Pivot Table to analyze multiple variables in satisfaction survey
    By gotesman@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2006, 09:45 PM
  4. Replies: 0
    Last Post: 05-17-2005, 10:06 AM
  5. [SOLVED] Pivot Table for survey results with set of possible answers in PT's Rows Field?
    By pfwebadmin@gmail.com in forum Excel General
    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