+ Reply to Thread
Results 1 to 3 of 3

My pivot table is treating a number as two separate items

  1. #1
    Registered User
    Join Date
    11-06-2003
    MS-Off Ver
    2013
    Posts
    75

    My pivot table is treating a number as two separate items

    I have data from another program for each month that has been put into Excel. When the data comes into Excel, some of the "label" numbers populate differently than other times. This causes the Pivot table to calculate the data as two different labels. I have tried to copy one and paste the rest to make them the same but I have over 33000 rows of data to go through. I have no control over how the data comes from the other source.

    How can I make the pivot table see the Label as one? Is there a formula to be able to change the "Label" column numbers to be the same? Or is there something in the pivot table options that will allow all to be treated as one?

    I have tried to format the cells to number, to general, to a custom format but this does not help.
    I have attached an example to show my issue. The cells in the "Labels" column are all formatted as number in the attachment.

    Thanks in advance for any help.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: My pivot table is treating a number as two separate items

    Some of the "numbers" are stored as text in column B. In a separate column, add 0 to each value (=b2+0, copy down), or apply a double negative (=--b2, copy down); copy and paste values back into columnB. Then the doubles will disappear...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    11-06-2003
    MS-Off Ver
    2013
    Posts
    75

    Re: My pivot table is treating a number as two separate items

    I used the (=--b2) and that worked like a charm! Thanks so much

+ 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. Filter pivot items using pivot items from another table
    By DKolev in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2014, 08:49 PM
  2. Pivot table to find number of items moved given in an amount of time
    By dsoeder in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-20-2013, 01:16 AM
  3. Replies: 2
    Last Post: 09-26-2012, 01:41 PM
  4. Replies: 1
    Last Post: 09-03-2012, 10:03 PM
  5. Lookup largest number in a column treating negative number as postive number
    By xWiZardx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2010, 08:09 AM

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