+ Reply to Thread
Results 1 to 3 of 3

Pivot Table Showing Duplicate Names

  1. #1
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Pivot Table Showing Duplicate Names

    Hi,
    When I make a pivot table I wanted to know why it is showing duplicate names. Here is an example workbook below. It should group all the same names together. However it isn't doing so. Anyway around this problem?

    Thank You, Mike
    Attached Files Attached Files
    Last edited by realniceguy5000; 05-14-2009 at 07:50 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Pivot Table Showing Duplicate Names

    some of the names have spaces so they are considered different
    you need to delete trailing paces e.g.
    Al 13 100 1412 18 16.5 85.57575758 6.060606061 0.787878788
    "AL" IS ACTUALLY "AL "
    first try select column
    data/text to columns
    fixed width then just click finish
    refresh pivot
    failing that
    in a spare column put in row 2 =trim(a2)
    drag to end
    then copy /paste special/ values back over original . delete col with formulas. then refresh pivot.
    Last edited by martindwilson; 05-13-2009 at 08:35 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Pivot Table Showing Duplicate Names

    Quote Originally Posted by martindwilson View Post
    some of the names have spaces so they are considered different
    you need to delete trailing paces e.g.
    Al 13 100 1412 18 16.5 85.57575758 6.060606061 0.787878788
    "AL" IS ACTUALLY "AL "
    first try select column
    data/text to columns
    fixed width then just click finish
    refresh pivot
    failing that
    in a spare column put in row 2 =trim(a2)
    drag to end
    then copy /paste special/ values back over original . delete col with formulas. then refresh pivot.
    Oh I see now, Working much better now. Thank You for your help!!!!

    Mike

+ 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