+ Reply to Thread
Results 1 to 4 of 4

Create a list from Pivot table field rows

  1. #1
    Registered User
    Join Date
    03-30-2009
    Location
    austin, Texas
    MS-Off Ver
    Excel 2003
    Posts
    4

    Create a list from Pivot table field rows

    I have data in two columns, name and skill. By using a pivot table I can set both name and skill as row fields and name as data field to get a list of employees by skill, listing employee name once.

    My problem is how to dynamically create a list from the pivot table that I can automaticaly use in creating reports. I don't want to pivot table, I just want to reference the unique list of employee names by skill.

    here is sample data on sheet 1, the pivot table on sheet 2, and the desired table I want to automatically build on sheet 3.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Create a list from Pivot table field rows

    Hi,

    It looks as if your constraint is no VBA ...

    Attached is a sample with a couple of functions, as a starting point ...

    HTH
    Attached Files Attached Files

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Create a list from Pivot table field rows

    I think realistically VBA is the best route, however, if as JR states you don't want to utilise then one route would be:

    Sheet2
    G11: =IF(D11="","",IF(C11<>"",D11,G10&CHAR(10)&D11))
    copied down for all rows

    Then utilise the above column to get your results on sheet3

    Sheet3
    D12: =INDEX(Sheet2!$G:$G,MATCH($C12&" Total",Sheet2!$C:$C,0)-1)
    copied down
    (ensuring D12 onwards is set to Wrap Text)

    Note: the above assumes sub totals though is meant purely as proof of concept - it can be modified as required.

  4. #4
    Registered User
    Join Date
    03-30-2009
    Location
    austin, Texas
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Create a list from Pivot table field rows

    Both very workable suggestions. Thank you so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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