+ Reply to Thread
Results 1 to 4 of 4

How To Make Multiple Name Show Up Only Once in Pivot Table?

  1. #1
    Registered User
    Join Date
    03-27-2009
    Location
    Washington DC, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    How To Make Multiple Name Show Up Only Once in Pivot Table?


    In the attached file (xlsx) under 'Database' Tab poeple have indicated their preferences (multiple choices) for different food items "specialties". The specialties are grouped under broader buckets called "groups". The specialties are bucketed into groups in a way that people end up more than once in each specialties and groups due to their muliple selections. When we create a pivot by specialties (Pivot Specialties tab), each person appears only once for each specialty...it's great. But, when we create a "group" pivot (each group has multiple specialties), now, people appear more than once for each group. Is there a way, each person can show up only once under each group so the group count does not appear to be misleading?

    I'll most sincerely apprecaite your help.

    Thanks,
    Excellearner90
    Attached Files Attached Files
    Last edited by NBVC; 03-30-2009 at 08:51 AM.

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

    Re: How To Make Multiple Name Show Up Only Once in Pivot Table?

    You could introduce a further column at source utilising the XL2007 function COUNTIFS... using your sample:

    Database!E4:
    Heads

    Database!E5:
    =1/COUNTIFS($B$5:$B$19,$B5,$D$5:$D$19,$D5)

    copied down to E19

    Change PT source to include column E - and instead of using COUNT of Name use SUM of Heads.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How To Make Multiple Name Show Up Only Once in Pivot Table?

    Nice idea, DonkeyOte
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    03-27-2009
    Location
    Washington DC, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How To Make Multiple Name Show Up Only Once in Pivot Table?

    Thanks!
    This is a great help!
    You've provided a magical formula to this complex proble...a must see post!
    Thanks again!
    excellearner90

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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