How to Resolve Duplicate Data within Excel Pivot Tables

The Table (List in Excel 2003) feature greatly improves the integrity of pivot tables in Excel. If you add additional rows or columns to your data set, the pivot table will instantly reflect the additional information when you refresh. This means you won’t inadvertently exclude data from your analysis, plus you won’t have to ever manually resize a pivot table’s source range.
 
As illustrated in Figure 3, add data to your pivot table:
  • Excel 2007 and later: Click the checkboxes for Account and Amount to add these items to the pivot table.
  • Excel 2003  and earlier: Drag these field names into the Row Labels and Data sections, respectively.
You’ll see in my case that account 4000 appears twice on the pivot table, with two different amounts. The goal of a pivot table is to represent one of each item, so why would account 4000 appear twice? The answer lies within the individual cells of my data.

Figure 3: When you add the fields to the pivot table, account 4000 appears twice.

The first step in solving my problem is to determine if my account numbers are stored consistently. To determine this, I’ll use the ISNUMBER function. As shown in Figure 4, in cell C2 add this formula, and then copy it down the column:
 
=ISNUMBER(A2)
 
Figure 4: The ISNUMBER function signifies if numbers are stored as text or values.
 

You may like these other stories...

Cybersecurity is no longer the domain of an organization's IT staff. It's moved to the boardroom, and in a big way. Accountants and financial managers may have been thinking it's just the province of the tech...
You probably don't want to think about how many times you access the File menu in Excel 2010 or 2013. Personally I think Excel 2010 has the best possible File menu arrangement, other than having Print Preview grafted...
Following other recent high-profile hacking events, investigators discovered yesterday that hackers broke into the draft work paper files of several famous CPA firms. Revealing images of the scantily clad documents have been...

Already a member? log in here.

Upcoming CPE Webinars

Sep 24
In this jam-packed presentation Excel expert David Ringstrom, CPA will give you a crash-course in creating spreadsheet-based dashboards. A dashboard condenses large amounts of data into a compact space, yet enables the end user to easily drill down into details when warranted.
Sep 30
This webcast will include discussions of important issues in SSARS No. 19 and the current status of proposed changes by the Accounting and Review Services Committee in these statements.
Oct 21
Kristen Rampe will share how to speak and write more effectively by understanding your own and your audience's communication style.
Oct 23
Amber Setter will show the value of leadership assessments as tools for individual and organizational leadership development initiatives.