+ Reply to Thread
Results 1 to 5 of 5

Grouping Results in a pivot table

Hybrid View

  1. #1
    Registered User
    Join Date
    10-09-2016
    Location
    Preston, England
    MS-Off Ver
    2010, 2013 & 2016
    Posts
    30

    Question Grouping Results in a pivot table

    [SOLVED]
    Hi all,
    I have a table where column 1 is names, column 2 is Gender (M/F) and column 3 is a series of rankings (number).
    The numbers range from -10 to 0 and above to 10. I have created a pivot where down the left hand side I have the Gender and across the top it has all of the numbers from the rankings with a count to how many have that ranking. what I would like to do is group the rankings so all the minus numbers come under "Not achieving" all of the zeros come under "Achieving" and anything above is "above Target" and then we have a count of how many for each one for Male and female.

    I have seen some one do this but for the love of glob I cant remember the function I need.

    Any help is greatly appreciated. I have attached a dummy doc to explain (the pivot table is for another much larger workbook but I hope the dummy doc illustrates what it is I am trying to do)

    Thanks
    Jon
    Attached Files Attached Files
    Last edited by Jwilf; 10-13-2016 at 03:02 PM. Reason: SOLVED

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Grouping Results in a pivot table

    Maybe insert a helper column in your data set and create the grouping labels, then pivot the data with the grouping label.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-09-2016
    Location
    Preston, England
    MS-Off Ver
    2010, 2013 & 2016
    Posts
    30

    Re: Grouping Results in a pivot table

    I was thinking about doing that.
    As the data in the big workbook that this is going on will be updated all the time (Excel Table linked to a SQL database) would you suggest to create a look up list and use a vlookup in the helper column so as the data is updated so is the helper column?

    Thanks

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Grouping Results in a pivot table

    You already answered your own question. If you have more than five categories, then a reference table is highly recommended.

  5. #5
    Registered User
    Join Date
    10-09-2016
    Location
    Preston, England
    MS-Off Ver
    2010, 2013 & 2016
    Posts
    30

    Re: Grouping Results in a pivot table

    I knew I had the answer somewhere in my head. Maybe I thought it had been done a different way.

    Thank you for your help

+ 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 Results to Secondary Table with Horizontal Results
    By Pony08 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-07-2015, 04:18 PM
  2. [SOLVED] Pivot Table Grouping
    By zanshin777 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-18-2015, 02:31 AM
  3. Replies: 1
    Last Post: 07-22-2015, 07:16 AM
  4. Pivot table grouping
    By drewbizz in forum Excel General
    Replies: 1
    Last Post: 02-05-2012, 02:20 AM
  5. Excel 2007 : Pivot Table Grouping
    By mattydalton in forum Excel General
    Replies: 4
    Last Post: 04-22-2010, 06:26 AM
  6. Pivot Table Grouping
    By penumbra547 in forum Excel General
    Replies: 2
    Last Post: 05-28-2009, 12:00 AM
  7. Pivot Table Grouping
    By Karen in forum Excel General
    Replies: 3
    Last Post: 08-02-2006, 04:40 PM

Tags for this Thread

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