+ Reply to Thread
Results 1 to 3 of 3

Pivot table with multiple rows against the same column headers

  1. #1
    Registered User
    Join Date
    04-16-2018
    Location
    Guildford, England
    MS-Off Ver
    2016
    Posts
    1

    Pivot table with multiple rows against the same column headers

    Hi experts,

    I am trying to create a matrix Pivot table but can't seem to be able to get it to work the way I want it to. I can only get so far, so either I'm just not doing it right or there is no way of doing what I want to do.

    I have survey data which I want to analyse using Pivot tables for ease.
    There are ten questions, answered on a 1-5 scale, and I want to get the count of each score for each question.
    I would then like to add a slicer to allow me to filter against site and/or function.

    Attached is some sample data, a tab with the Pivot as far as I could get it (but as you can see, the count for the second question is wrong) and a tab which shows how I'd like to be able to access the data.

    Would appreciate your help!

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Pivot table with multiple rows against the same column headers

    Your data is not that suitable for pivoting because each question is a column with results

    But with countifs it's not that hard to build. see the attachement with my solution
    I build 2 tables 1 with overall results and 1 where you can set function and/or site

    The data set also has some results where function and site are left blank, these to not come thru if you select "All"
    But results per function and/or site look solid..

    I created to dropdown lists for which the inputvalues are on the data sheet
    Have a look if this will fit your needs.
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    09-25-2015
    Location
    Nowy Tomysl, Poland
    MS-Off Ver
    2019, O365
    Posts
    398

    Re: Pivot table with multiple rows against the same column headers

    Hello,
    I did not look at my colleague's solution. My proposition is based on the use of Power Query. Pivot table is based directly on the PQ query
    Attached Files Attached Files

+ 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. [SOLVED] Variable Column Headers in or attached to a Power Pivot Table
    By RAdams1 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-25-2017, 11:29 AM
  2. Pivot Table Data to Column Headers
    By danielex in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-05-2015, 02:39 PM
  3. Pivot table not pulling column headers
    By joyhampton in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-18-2013, 11:21 PM
  4. pivot table column headers
    By jrtaylor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-11-2009, 09:23 AM
  5. Replies: 1
    Last Post: 03-06-2009, 12:45 PM
  6. Pivot table problem multiple columns and headers
    By William Elerding in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2006, 04:42 AM
  7. Replies: 0
    Last Post: 10-12-2005, 11:05 AM

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