+ Reply to Thread
Results 1 to 5 of 5

Using Columns with Multiple Subcategories in Pivot Table

  1. #1
    Registered User
    Join Date
    06-06-2018
    Location
    Lancashire, England
    MS-Off Ver
    Office 2016
    Posts
    3

    Using Columns with Multiple Subcategories in Pivot Table

    Good day! This is my first using this forum, so I hope I am doing so appropriately.

    I am attempting to create a pivot table that shows the count of 2 values per column. In my source data I have a list of partners as rows, and across the top there are multiple criteria that each partner either meets, or does not meet. Partners 1-5 can appear multiple times, but Criteria1-5 are always "Yes" or "No". This is shown in the attached file in the tab "Source".

    My current solution to how I'm going to resolve this is shown in the appropriately named "Current Solution". Step 3 shows the end result I'm aiming to achieve.

    I'd like to automate this entire process using Excel, however I can't seem to strike upon the right combination of fields in a pivot table. The closest I've got is in the "Attempted Solution" tab. This gives me the layout I want (or thereabouts), however I've noticed that the values for each partner duplicates - so for example in the lower pivot table of "Attempted Solution", Partner1 has a count of 31 in "No" for each criteria; when I validated this, this should be 31 for Criteria1, 24 for 2, 26 for 3, etc.

    I know that there will be something really silly that I've overlooked or not set up properly on the pivot table, but I just can't seem to crack it after trying for a few hours! Any help that anyone can render would be greatly appreciated, thanks!
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Using Columns with Multiple Subcategories in Pivot Table

    maybe this one. all is on source tab
    done with PowerQuery aka Get&Transform and PivotTable
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-06-2018
    Location
    Lancashire, England
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Using Columns with Multiple Subcategories in Pivot Table

    Aha, good solution! I think maybe I was obsessing too much about having both values, but really I suppose all I need is one at a time, like your table. Thanks for your help

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Using Columns with Multiple Subcategories in Pivot Table

    You are welcome

    If that takes care of your original question, & to say Thanks and for better Motivation, please
    1. click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
      then
    2. select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.

  5. #5
    Registered User
    Join Date
    06-06-2018
    Location
    Lancashire, England
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Using Columns with Multiple Subcategories in Pivot Table

    Have done! Thank you again.

+ 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. Multiple Columns using Pivot Table
    By atgramesh in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 08-14-2017, 07:57 PM
  2. Data hierarchy and subcategories in Pivot chart
    By ga23 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-06-2016, 03:07 AM
  3. [SOLVED] Getting % of subcategories in pivot table
    By stephme55 in forum Excel General
    Replies: 3
    Last Post: 01-20-2016, 11:06 PM
  4. Pivot Table, can't sum over multiple columns
    By Add1988 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 10-20-2015, 03:49 AM
  5. Replies: 6
    Last Post: 08-19-2015, 07:46 PM
  6. Pivot Table - eliminating irrelevant (empty) subcategories
    By ALN1991 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 06-27-2013, 12:23 PM
  7. [SOLVED] Multiple Columns in Pivot Table (but don't show in Pivot Chart)
    By Gideon1973 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-23-2012, 10:57 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