+ Reply to Thread
Results 1 to 6 of 6

Pivot Table with multiple rows/sub rows

  1. #1
    Registered User
    Join Date
    07-31-2016
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    4

    Pivot Table with multiple rows/sub rows

    Hello,

    I am new to pivot tables and I am trying to create a pivot table with multiple rows/sub rows of text that can be expanded/collapsed but the sub rows aren't populating the way I need them to.

    In the attached spreadsheet, the first tab has the source data and the second tab is the results I am looking for. The third tab is the actual pivot of the source data.

    When I try to create a pivot table with the source data, it creates a blank row with another blank row underneath and then it lists the sub categories. I know it creates the blank rows because there are empty cells but I am not sure to pivot the source data without selecting the empty cells.

    If possible, in the pivot table I would like to be able to expand Identity and see asset mgmt. Then asset mgmt be able to expand and show the sub categories.

    Any help is greatly appreciated. Thanks!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Pivot Table with multiple rows/sub rows

    Hi,

    In order to get the results you are looking for, your source data has to be fully populated.

    See attachment for example using your data.

    Here is the trick to filling in all the blanks:
    Select column A and B.
    Select "Find & Select" menu, then "Go to Special". Select the "Blanks" button and hit OK.
    Select your "equals" sign on the keyboard.
    Hold the CTRL and hit Enter.
    All the blank cells will be populated with formulas.
    Copy all the column A and B data, and paste "values" back into the same cells.

    Then you can do your Pivot table.

    Hope this makes sense and is helpful.

    Cheers
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-31-2016
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    4

    Re: Pivot Table with multiple rows/sub rows

    Thanks! This is exactly what I was looking for. I appreciate the instructions.

    I have one question about the procedure. When you mention:

    Select your "equals" sign on the keyboard.
    Hold the CTRL and hit Enter.
    All the blank cells will be populated with formulas.

    I did this and the blank cells were populated with the = sign. Then, I am not sure what to do when you mention:

    Copy all the column A and B data, and paste "values" back into the same cells.

    For an example, do you mean to copy Identity and paste it in cell A2-A7 and do the same with Protect (A9-A13) and so on? This is what I did and the pivot table came out like I intended it to.

  4. #4
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Pivot Table with multiple rows/sub rows

    Opps. I forgot a step.
    After entering the "equals" sign, use the up arrow once to select the cell above.
    Then, hold the CTRL and hit Enter.

    Sorry about that. :D

    Cheers

  5. #5
    Registered User
    Join Date
    07-31-2016
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    4

    Re: Pivot Table with multiple rows/sub rows

    No worries! The forgotten step was the final piece to the puzzle.


    Thanks so much for the help!

  6. #6
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Pivot Table with multiple rows/sub rows

    You are very welcome.
    Glad I could be of some assistance

+ 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 Metrics in Pivot Table Rows - Help!
    By zorn in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-19-2015, 10:56 AM
  2. Pivot table to list multiple source columns in rows
    By geriz in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 07-06-2014, 03:55 PM
  3. Replies: 1
    Last Post: 11-29-2012, 06:24 PM
  4. Pivot table multiple rows/data
    By MADRE in forum Excel General
    Replies: 0
    Last Post: 02-25-2009, 10:44 PM
  5. Multiple rows make a single order and Pivot table
    By saurya_s in forum Excel General
    Replies: 5
    Last Post: 10-30-2008, 01:51 PM
  6. [SOLVED] Pivot Table, Limit 255 rows, Invert rows and column
    By xav in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-29-2005, 10:10 AM
  7. [SOLVED] Pivot Table Repeats Names in multiple rows
    By Riccardo in forum Excel General
    Replies: 2
    Last Post: 09-16-2005, 03:05 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